Thanks for the Reply,
actualy i don't know where to restart mysql. it is hosted on green geeks server. but after just waiting 1 hour it is automatically fixed and the website is working again.




Sincerely,
----------------------

Juma Ahmadi
+93(0)77 0424164


On Tue, Apr 8, 2014 at 12:36 PM, Stephen Mount <stemount@gmail.com> wrote:
have you tried to restart your MySQL server?

On 8 Apr 2014, at 07:53, Juma Ahamadi <juma.ahmadi@gmail.com> wrote:

Dear All,
i hope some one could sove my problem which is as below:

i was deleting a block from views page in admin/views which the following happened.
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).

Sincerely,
----------------------
<Juma-Ahmadi-Digi.png>
Juma Ahmadi
+93(0)77 0424164
--
[ Drupal support list | http://lists.drupal.org/ ]


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