forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 bridging => Topic started by: Uzma on May 28, 2011, 06:21:46 am

Title: Coppermine & SMF
Post by: Uzma on May 28, 2011, 06:21:46 am
hello,
My coppermine gallery is connected to the SMF forum. I just moved the whole site from one domain to another. While SMF has transferred everything correctly with all the database info. The coppermine gallery is giving me a database connection error. I restored the database info for the gallery from old domain to the new as well yet it's not connecting. Any idea which file needs to be configured? I can't seem to find the database settings in any php file in the coppermine folder.

Any help would be appreciated.

Thanks.
Title: Re: Coppermine & SMF
Post by: lurkalot on May 28, 2011, 09:01:39 am
Check the "include/config.inc.php" file has the correct info added to it, or it won't work.  ;)
Title: Re: Coppermine & SMF
Post by: lurkalot on May 28, 2011, 09:04:41 am
Forgot to say.  There's a complete section in the docs about moving your coppermine gallery. http://documentation.coppermine-gallery.net/en/export.htm#moving
Title: Re: Coppermine & SMF
Post by: Uzma on May 28, 2011, 07:11:28 pm
Hello,
I changed that (thanks for letting me know where the file was located!) but now I'm getting the following error:

Quote
Coppermine critical error:
Unable to connect to database !

MySQL said: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (46)

I don't see this file anywhere.
Title: Re: Coppermine & SMF
Post by: Αndré on May 31, 2011, 11:01:37 am
Try to Google that error message and you'll get something like this:
Quote from: http://forums.mysql.com/read.php?10,93668,133078#msg-133078
That message means that no MySQL process is running. mysql.sock is the default socket file. If it was a password problem, your message would be a permission denied type. Check to make sure your MySQL instance is running. If your on linux go to /var/run/ and see if mysql.sock is there. If it is then its running, it not its not.