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 ?
MySQL server doesnt start after update
- mikeshinn
- Atomicorp Staff - Site Admin
- Posts: 4155
- Joined: Thu Feb 07, 2008 7:49 pm
- Location: Chantilly, VA
Re: MySQL server doesnt start after update
Does the directory "/var/lib/mysql/" exist and can mysql write to it? Was mysql already running and attached to the socket?
Michael Shinn
Atomicorp - Security For Everyone
Atomicorp - Security For Everyone