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!!!
You need to change the details in include/config.inc.php to the new mysql details.
thanks a lot, that did it.