[root@linux mysql]# service mysqld start


Timeout error occurred trying to start MySQL Daemon.


Starting MySQL:  [FAILED]


090116 00:25:04  mysqld started

090116  0:25:04 [ERROR] Can't find messagefile '/usr/share/mysql/english/errmsg.

sys'

090116  0:25:04 [ERROR] Aborting

 

是errmsg.sys文件和升级后的软件版本不一致导致。

解决:

1) cp /usr/share/mysql/english/errmsg.sys /usr/share/mysql/english/errmsg.sys.backup

2) wget http://downloads.mysql.com/archives/mysql-5.1/mysql-5.1.50.tar.gz

3) tar -xzvf http://downloads.mysql.com/archives/mysql-5.1/mysql-5.1.50.tar.gz

4) cp mysql-5.1.50/sql/share/english/errmsg.sys /usr/share/mysql/english/errmsg.sys

5)service mysqld strart
6) mysql_upgrade -uroot -p******