Category: MySQL SQL

If you get this error in mySQL:

/usr/libexec/mysqld: Table './mysql/' is marked as crashed and last (automatic?) repair failed
[ERROR Fatal error: Can't open and lock privilege tables: Table './mysql/' is marked as crashed and last (automatic?) repair failed
mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended

Run this:

myisamchk -r /var/lib/mysql/mysql/*.MYI

How useful was this post?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate this post.