PC Nerd Posted February 6, 2008 Share Posted February 6, 2008 Hi - Im gettign the error below - and Ive never come accross this warnign message before. Im wondering how i can fix it, and what it is caused by? Thanks Warning: mysql_connect(): Can't connect to local MySQL server through socket '****/mysql.sock' (2) in ******/Database_link.inc on line 15 Can't connect to local MySQL server through socket '****/mysql.sock' (2) Thanks my connection code is: $host = "localhost"; $account = "****"; $password = "****"; $db_name = "****"; $DB_Server = mysql_connect($host, $account, $password) or die(mysql_error()) Quote Link to comment Share on other sites More sharing options...
Aureole Posted February 6, 2008 Share Posted February 6, 2008 Your host is no doubt upgrading MYSQL, or doing maintenance on the Server. I've had it before, the Host said he was working on something and it'd be back to normal later on. Quote Link to comment Share on other sites More sharing options...
PC Nerd Posted February 6, 2008 Author Share Posted February 6, 2008 ok. Thanks Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.