Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Wed Jul 29, 2015 10:23 pm 
Offline
Newbie

Joined: Wed Jul 29, 2015 10:18 pm
Posts: 2
I couldn't access my site by reason of MySQL problem, this is the message i encounter, how can i solve this problem, my site is a drupal site, thanks

Error

The website encountered an unexpected error. Please try again later.

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 /var/www/www.mysite.com/includes/lock.inc).


Top
   
PostPosted: Wed Jul 29, 2015 10:24 pm 
Offline
Newbie

Joined: Wed Jul 29, 2015 10:18 pm
Posts: 2
when i command : sudo service mysql status
response : mysql stop/waiting


Top
   
PostPosted: Thu Jul 30, 2015 6:48 am 
Offline
Senior Member

Joined: Sun Mar 07, 2010 7:47 pm
Posts: 1970
Website: http://www.rwky.net
Location: Earth
sudo service mysql start

MySQL is stopped.

_________________
Paid support
How to ask for help
1. Give details of your problem
2. Post any errors
3. Post relevant logs.
4. Don't hide details i.e. your domain, it just makes things harder
5. Be polite or you'll be eaten by a grue


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
RSS

Powered by phpBB® Forum Software © phpBB Group