Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Fri Mar 06, 2015 2:24 pm 
Offline
Newbie

Joined: Fri Mar 06, 2015 2:09 pm
Posts: 2
After my linode rebooted for the recent security update, mysql is not running. When I try to enter mysql from the shell I get:
Code:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock'

When I try to restart the service I get:
Code:
stop: Unknown instance

I'm running Ubuntu 12.04.

Does this look familiar to anybody?

Thanks in advance.


Top
   
PostPosted: Fri Mar 06, 2015 2:57 pm 
Offline
Senior Member

Joined: Sun Mar 07, 2010 7:47 pm
Posts: 1970
Website: http://www.rwky.net
Location: Earth
Is there anything mysql related in /var/log/syslog or /var/lib/mysql/*.log ?

_________________
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
   
PostPosted: Fri Mar 06, 2015 10:40 pm 
Offline
Newbie

Joined: Fri Mar 06, 2015 2:09 pm
Posts: 2
obs wrote:
Is there anything mysql related in /var/log/syslog or /var/lib/mysql/*.log ?

No. Syslog has some entries related to my mail server being unable to connect to the database, but /var/log/mysql.err and /var/log/mysql.log are empty (there aren't any .log files in /var/lib/mysql).

ETA: Okay, running sudo mysqld from the shell has got me back up. One of my virtual hosts running laravel still isn't working (I assumed that was the database too, but apparently not), but I don't have to fix that tonight.

ETA 2: Nope, the Laravel site is back up now, too. Presumably there was a caching issue that made it appear to still be down right after I started mysqld.


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


Who is online

Users browsing this forum: No registered users and 1 guest


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:  
RSS

Powered by phpBB® Forum Software © phpBB Group