Steve, You should try restarting the Mysql service.
if that does not help, check on the host you are trying to connect, it shows localhost on the error, so is IP 127.0.0.1 bind to localhost ?


On Sun, Oct 13, 2013 at 5:06 AM, Steve Kessler <skessler@denverdataman.com> wrote:
I hope someone can help me with this problem because I am not sure where to look and if its a server things or a Drupal thing. 

I cannot login into Drupal with any user.  If I try and login the site does nothing but reload.  It does  not even give an error message.  

I got this error message once " "PDOException: SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in lock_may_be_available() (line 167 of/opt/ee/hub.ee.com/includes/lock.inc)."

I have emptied the sessions table and everything looks good. 

Any help is appreciated.  

Thanks,
Steve 
--
Steve Kessler
Owner and Lead Consultant 
Denver DataMan, LLC 
303-587-4428

--
[ Drupal support list | http://lists.drupal.org/ ]



--
Regards,
Vaibhav Jain