Mysql fix
I don't believe this post will be very useful to anyone else, but I want to record it anyway. I noticed a few weeks ago that my drupal installation was complaining that the watchdog table had crashed. With my limited understanding of mysql , I didn't event know that a table *could* crash. Everything else on the site looked fine to the anonymous user so I just ignored it. That brings me to today. I found this interesting script online that will dump all of my mysql databases every hour to another file system . I figured I would give a shot. I entered my root db password and the dst directory and let her rip. I got a few errors right away: [root@www storage]# mysql -backup.sh mysqldump : Error 1194: Table 'watchdog' is marked as crashed and should be repaired when dumping table `watchdog` at row: 283 mysqldump : Got error: 145: Table './drupal/watchdog' is marked as crashed and should be repaired when using LOCK TABLES mysqldump : Got error: 145: Table '....