Jump to content

Archived

This topic is now archived and is closed to further replies.

jakKersS

Warning: mysql_connect():... Help with database connectivity?

Recommended Posts

Warning: mysql_connect(): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in /home/www/crazygamez.awardspace.com/mysql.php on line 15
Could not connect.

Any help?

Share this post


Link to post
Share on other sites
Please post the section of code you're using to connect to the MySQL server and select the database you want to operate on.

Share this post


Link to post
Share on other sites
Check the relevant MySQL refman section -- there are a whole host (no pun intended) of reasons.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.