I am facing this error, i tried every thing i fond on internet, but can not solve the problem. Please guide me how to solve it. I am using Ubuntu 11.04
I installed it with
sudo apt-get install mysql-server
That means it is not running. Do:
You should see something like:
Since you are using Ubuntu, enable it and it start it up using upstart:
Check the permissions of /var/run/mysqld/ - could be that the process cannot modify or create the socket.