My SQL Database error please help!
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]  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.
The error message indicates that your Drupal website (as well as the phpMyAdmin application) cannot connect to the MySQL server. As you probably know the Drupal website uses a database to store most of the information. Please check if the MySQL server is up and running and if it accepts connections. If your website is hosted on one of our servers you should post a new support ticket and we will help you ASAP. If the website is hosted on your own server you should access the server and make sure that the MySQL service is running. If it is a Linux server you can use the following command to restart the MySQL server (the command is valid for most of the popular Linux distributions):
In my opinion, it will be best to contact the System Administrator who is responsible for managing your server. He/she should be able to resolve the issue.
By Fortuno in forum Hosting Related Questions
Last Post: 05-18-2011, 05:14 AM
By NX01class in forum Other Software and Applications
Last Post: 11-20-2008, 12:59 AM
By Mad Jack in forum Hosting Related Questions
Last Post: 05-19-2008, 02:07 AM
By hankeester in forum Hosting Related Questions
Last Post: 07-05-2006, 04:55 PM
Tags for this Thread
Copyright © 2012 SiteGround.com Inc