webguync Posted July 21, 2008 Share Posted July 21, 2008 I am getting the following error, and I am not sure why "Lost connection to MySQL server at 'reading initial communication packet', system error: 111" can someone explain this? Quote Link to comment Share on other sites More sharing options...
tivrfoa Posted July 21, 2008 Share Posted July 21, 2008 Did you check your host, user, passwd? Check if you are selecting the right database too. Quote Link to comment Share on other sites More sharing options...
tivrfoa Posted July 21, 2008 Share Posted July 21, 2008 Use the term "localhost" rather than the loopback IP or server name in the mysql_connect() function Quote Link to comment Share on other sites More sharing options...
webguync Posted July 21, 2008 Author Share Posted July 21, 2008 I thought I had the right credentials, but I will double-check 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.