MySQL server doesnt start after update

General Discussion of atomic repo and development projects.

Ask for help here with anything else not covered by other forums.
plymws
New Forum User
New Forum User
Posts: 1
Joined: Tue Jul 05, 2011 2:05 pm
Location: UK

MySQL server doesnt start after update

Unread post by plymws »

Hi all,

I did a yum-update on my CentOS 5 server today. Everything went through fine and the output from yum was as expected. however the mySQL server won't start. If I try a service mysqld (re)start I get

ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)

Everything was fine before the update. Any ideas what I can try to get mysql started again ?
User avatar
mikeshinn
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 4155
Joined: Thu Feb 07, 2008 7:49 pm
Location: Chantilly, VA

Re: MySQL server doesnt start after update

Unread post by mikeshinn »

Does the directory "/var/lib/mysql/" exist and can mysql write to it? Was mysql already running and attached to the socket?
Post Reply