0

mysql is currently showing

Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

when i try to logon at the moment. Does anyone have any solutions?

matt
  • 337
  • 4
  • 14

1 Answers1

0

Try to kill the socket with (this may depend on your OS)

rm /var/lib/mysql/mysql.sock
rm: remove socket `/var/lib/mysql/mysql.sock'? y

restart the service

service mysqld start
Eduardo Ramos
  • 416
  • 3
  • 8