coppermine-gallery.com/forum

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: dealtime on May 06, 2004, 11:23:18 PM

Title: [Solved]: Re unable to connect to mysql
Post by: dealtime on May 06, 2004, 11:23:18 PM
After installing coppermine on my server I am trying to run the install script now Im stuck I get the error message cant connect mysql the error message is as follows

Could not create a mySQL connection, please check the SQL values entered
MySQL error was : Can't connect to local MySQL server through socket '/tmp/mysql.sock' (46)


I feel its something in the configinc.php but I dont know what to change or how to can anyone give some insight as to what I should do.
Title: Re: Re unable to connect to mysql
Post by: hyperion on May 06, 2004, 11:58:32 PM
http://forum.coppermine-gallery.net/index.php?topic=4656.0

http://dev.mysql.com/doc/mysql/en/Can_not_connect_to_server.html
Title: Re: Re unable to connect to mysql
Post by: dealtime on May 07, 2004, 02:26:09 AM
Many thanks for your help am now through the install and am ready to configure the gallery  instead of local host I just put mysql and the database name correctly

Thanks once again for your pointers