mysqld: unrecognized service
I have a problem with my MySQL server. I can’t connect to MySQL via command line. If I try it, I get:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
My directory /var/mysql is empty. And if I try
I get “[fail]”.
Moreover, if I type
service mysqld restart
I get “mysqld: unrecognized service”.
However, my website (which uses this database) works fine.
Thank you very much ;)