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?

Thanks

Comments

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

Thanks

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

_
Don't be a Help Vampire - read and abide the forum guidelines.
If you find my assistance useful, please pay it forward to your fellow drupalers.