Hi, I am getting this Drupal Error, can anyone tell me what it is and how I can fix it?

PDOException: SQLSTATE[HY000] [2013] Lost connection to MySQL server at 'reading initial communication packet', system error: 111 in lock_may_be_available() (line 167 of /home/............/public_html/includes/lock.inc).

At line 167 of /home/............/public_html/includes/lock.inc I get this:

163 * @return
164 * TRUE if there is no lock or it was removed, FALSE otherwise.
165 */
166 function lock_may_be_available($name) {
167 $lock = db_query('SELECT expire, value FROM {semaphore} WHERE name = :name', array(':name' => $name))->fetchAssoc();
168 if (!$lock) {
169 return TRUE;

I have no idea what any of this means, can anybody tell me exactly what I need to change to fix this error?



tesol’s picture

My ISP has just told me it is a problem at their end, so this problem is resolved


WorldFallz’s picture

It usually has something to do with the settings.php info....just google it there's tons of info and things to try.