Tuesday, January 17, 2012

MySQL .sock error resolved

After a few days of troubleshooting, installing, re-installing, purging, auto-removing, cleaning, auto-cleaning, updating, and upgrading, I have solved my MySQL woes.

Indeed, the problem appeared that MySQL service was not starting up properly on boot and manually starting the service was either hanging or just not getting the job done.

So, I looked at chkconfig and mysql was not enabled to start.

I opened:


sudo gedit /etc/rc.local


and added the line:

start mysql


right before the exit command.

Lo and behold, upon reboot and no other commands entered, I was able to connect to MySQL without any sock error.

No comments:

Post a Comment