上周还好好的mysql,过了一周说什麽也启不来了,难到要罢工?
看了看mysql的启动日志
如下:
080421 16:48:00 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
/usr/local/mysql/libexec/mysqld: Table 'mysql.plugin' doesn't exist
080421 16:48:00 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
080421 16:48:00 [ERROR] /usr/local/mysql/libexec/mysqld: unknown option '--skip-bdb'
080421 16:48:00 [ERROR] Aborting
080421 16:48:00 [Note] /usr/local/mysql/libexec/mysqld: Shutdown complete
080421 16:48:00 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended
找了很多资料也没有结果,只好重装,可重装后问题依旧。
无奈之下只好如此
/usr/local/mysql/libexec/mysqld --no-defaults