Mysql not working

Posted by dreamcoder on Server Fault See other posts from Server Fault or by dreamcoder
Published on 2010-12-22T08:32:23Z Indexed on 2010/12/22 14:56 UTC
Read the original article Hit count: 230

Filed under:

I have installed XAMPP installed in my linux machine and phpmyadmin is working fine. But when I tried to start mysql using console using mysql command, I am getting the following error.

ERROR 2002 (HY000): Can't connect to local MySQL server through socket

'/var/lib/mysql/mysql.sock' (2)

The same error is getting when I try to use cake php bake console

** since I have istalled XAMPP , there is no folder named mysql in /var/lib

Can you help me?

© Server Fault or respective owner

Related posts about mysql