Hi Everyone,
I installed Coppermine and all was going great until today.
Whenever I try to visit the gallery I get 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' (2) "
Any ideas what happened??
Vanessa
check the contents of your_coppermine_folder/include/config.inc.php if the mySQL connection settings are OK, maybe the file got corrupted somehow, or your webhost applied some changes. Does any other app that uses mySQL still work?
GauGau
Quote from: GauGau on June 10, 2004, 03:58:46 PM
check the contents of your_coppermine_folder/include/config.inc.php if the mySQL connection settings are OK, maybe the file got corrupted somehow, or your webhost applied some changes. Does any other app that uses mySQL still work?
GauGau
I have phpBB set up, but it is working fine. I don't know what happened. I guess it could be the webhost, but then it would have messed up the forum too, wouldn't it?
what does config.inc.php say (don't post it here - sensitive information!)? Did you check?
GauGau
Quote from: GauGau on June 10, 2004, 04:39:14 PM
what does config.inc.php say (don't post it here - sensitive information!)? Did you check?
GauGau
What am I looking for? I am new to php and sql :(
I was looking in the wrong config file ::)
I went to the includes and checked the config file there and realised the problem
The host was locahost when it should have been my webhosting company's address
Thanks for the help!! It works now :)
:-*