Jump to content
MDDHosting Forums

My SQL Database error please help!


Recommended Posts

I was running a successful (drupal) site using Mysql (I'm on Mac OS X) until I suddenly started to get the following error: "PDOException: SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in db_table_exists()"


I don't know what this means or how to fix it, but when I visit phpmyadmin I get the following message: "#2013 - Lost connection to MySQL server at 'reading initial communication packet', system error: 61"


Can someone please help, I spent hours developing this site and really need to fix these errors.

Link to comment
Share on other sites

If you've tried the usual stuff like rebooting the computer and restarting the MySQL server and it still isn't working, you might want to contact a MySQL guru and see what they suggest checking. http://dev.mysql.com/doc/refman/5.0/en/irc.html


I'll try rebooting the computer (I'm skeptical that it will work- no offense) and this (above) is the error I get when I try to restart the MYSQL server. How would I contact a "MYSQL guru?" Thanks for replying.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...