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* *+93(0)77 0424164*
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/ ]
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 <%2B93%280%2977%200424164>* -- [ Drupal support list | http://lists.drupal.org/ ]
-- [ Drupal support list | http://lists.drupal.org/ ]
So the key to solving this particular issue is ... *patience*. ;) On 8 April 2014 16:10, Juma Ahamadi <juma.ahmadi@gmail.com> wrote:
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 <%2B93%280%2977%200424164>*
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 <%2B93%280%2977%200424164>* -- [ Drupal support list | http://lists.drupal.org/ ]
-- [ Drupal support list | http://lists.drupal.org/ ]
-- [ Drupal support list | http://lists.drupal.org/ ]
participants (3)
-
Alexander Arul -
Juma Ahamadi -
Stephen Mount