forum.coppermine-gallery.net
Support => cpg1.5.x Support => cpg1.5 bridging => Topic started 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.
-
Check the "include/config.inc.php" file has the correct info added to it, or it won't work. ;)
-
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
-
Hello,
I changed that (thanks for letting me know where the file was located!) but now I'm getting the following error:
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.
-
Try to Google that error message and you'll get something like this:
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.