Coppermine has been up and running on my server for several months now without a problem for several months.
Last week the site stopped working, instead I would get this message.
Coppermine critical error:
Unable to connect to database !
MySQL said: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)
I have spoken with my host and they tell the problem is i am trying to connect via local host and should use a differnet IP which they have given me (changing this worked on another site i have).
So how do I change the setup of coppermine to connect to the DB using this new IP. Do I need to edit individual files, if so which ones, or is there a simpler way to so this.
Thank you for any support you can offer
Matt
I believe you have to edit your config.inc.php file in the coppermine/include folder
Look for :
Quote$CONFIG['dbserver'] = 'localhost';
and change 'localhost' to your new settings.
Dennis
that's correct.