My Django web app was working fine, writing data to a mysql database. However, sometime in the past 36 hours or so, it stopped working.
I typed "mysql" into the command line (i'm using ubuntu on amazon ec2) and the error was: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
I checked in /var/run/mysqld and mysqld.sock DOES NOT exist.
I tried to start and stopmysql server, but I get "job failed to start" when I typed "start mysql" and "unknown instance" when I typed "stop mysql"
I also tried to look for the mysql error log, but there's no files at all in /var/log/mysql and /var/log/mysql.log is a completely empty file.
Could anyone give me some pointers on where to look to troubleshoot this problem? Also, do you think all my data in the database is gone now?!?!?! I really hope it isn't...
I'm really an amateur at mysql, so I would appreciate any advice. Thanks in advance!