I'm getting this error when trying to log into MySQL from the command line:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
I think this means that MySQL hasn't been started yet. So I try to start it:
sudo /etc/init.d/mysql start
and I get this message:
* Starting MySQL database server mysqld [fail]
Where do I look/what do I do to get MySQL to start? I am running Ubuntu 8.04 and installed MySQL through apt-get. I have been able to get it started and used it a couple times so I don't know why it just stopped working.
Update: When running sudo /etc/init.d/mysql status I get the message:
* MySQL is stopped.
Update #2: My log files (/var/log/mysql.log & /var/log/mysql.err) are empty (if these are the right ones)