when i was deleting a block from views page it happened as below:

PDOException: SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in lock_may_be_available() (line 167 of /home/afnrmnne/public_html/includes/lock.inc).

Comments

Jaypan’s picture

https://drupal.org/node/643758

You can move the thread by editing the original post and choosing 'Post Installation' as the forum.

Thank you