今天终于搞定UED的团博服务器,兴奋之余yum update了一下,结果悲剧的mysql无法启动了,出现下面错误提示: 110507 18:47:10 InnoDB: Starting shutdown... 110507 18:47:11 InnoDB: Shutdown completed; log sequence number 1595675 110507 18:47:11 [Note] 110507 18:47:11 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended 110507 18:49:12 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql 110507 18:49:12 [ERROR] Error message file '/usr/share/mysql/english/errmsg.sys' had only 480 error messages, but it should contain at least 708 error messages. Check that the above file is the right version for this program! 查了很多资料,终于找到解决方法,如下: 下载对应版本的rpm安装包,下载后执行以下: rpm2cpio MySQL-server-5.5.14-1.linux2.6.x86_64.rpm | cpio --extract --make-directories cp ./usr/share/mysql/english/errmsg.sys /usr/share/mysql/english/errmsg.sys 启动mysql,ok,搞定! 下面开始设计我们的博客了。同学们,加油!
转载于:https://www.cnblogs.com/Robyte/archive/2011/07/11/2591298.html