coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 install => Topic started by: waylman on January 20, 2008, 09:00:48 PM

Title: having troubles moving coppermine to new host
Post by: waylman on January 20, 2008, 09:00:48 PM
I am moving a coppermine db to my new host, Dreamhost. I have done this so far:

1. downloaded the coppermine directory and uploaded it to new host. The URL is www.lmlyp.com/photos

2. I make a backup of the db at the old host and imported it with the new host. The db name is dwtb_photos.

When I connect to www.lmlyp.com/photos I get:

Coppermine critical error:
Unable to connect to database !

MySQL said: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)


I'm guessing I need to do a little configuration to get this working with the new host but I'm not sure what needs to be done. Thanks for any help!!!
Title: Re: having troubles moving coppermine to new host
Post by: just_some_guy on January 20, 2008, 09:17:44 PM
You need to change the details in include/config.inc.php to the new mysql details.
Title: Re: having troubles moving coppermine to new host
Post by: waylman on January 20, 2008, 09:49:00 PM
thanks a lot, that did it.