Suddenly, mysql stopped working. When I try to start it, it tries, then fails. Any ideas on how to diagnose it? Thanks.
Hi Till, OK, jackpot... I looked at http://dev.mysql.com/doc/mysql/en/crashing.html, but I wasn't sure where/how to execute the commands...
First, make a backup of /var/lib/mysql directory. Then add: innodb_force_recovery = 1 into the [mysqld] section of the file /etc/mysql/my.cnf and try to restart mysql.
Does anyone have any ideas? I didn't notice anything changed after adding innodb_force_recover = 1. I get the following on boot: