aditogs Posted March 7, 2006 Posted March 7, 2006 Hi. Newbie, just installed. Error: Warning: mysql_connect(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /shop/admin/includes/functions/database.php on line 19 Unable to connect to database server! Ideas? Thanks
♥Vger Posted March 7, 2006 Posted March 7, 2006 Check in both of your configure.php files to make sure that you have the correct db_server address plus MySQL Password, User Name, and Database Name. Vger
kgt Posted March 7, 2006 Posted March 7, 2006 Check in both of your configure.php files to make sure that you have the correct db_server address plus MySQL Password, User Name, and Database Name. What Vger says, but in particular, check with your host to find the correct server name for your MySQL database. I've only ever seen this error to mean either the server was down or you're trying to connect to a non-existant server (ie - you have the server name wrong). Contributions Discount Coupon Codes Donations
Recommended Posts
Archived
This topic is now archived and is closed to further replies.