Can't connect to local MySQL server through socket '/var/run/mysqldmysqld.sock
- by user32328
I have a PHP script which seems to have frozen MySQL. When I restarted my machine (Debian Linux) the MySQL database reported as full and now, when I want to run MySQL, there is the following error:
ERROR 2002 (HY000):
Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
How do I fix this?