Sunday, April 11, 2010

mysql: Error message file '/usr/share/mysql/english/errmsg.sys' had only 480 error messages

SkyHi @ Sunday, April 11, 2010
I had the following on fresh install of Centos 5.4:

---

Error message file '/usr/share/mysql/english/errmsg.sys' had only 480
error messages,

but it should contain at least 481 error messages.

Check that the above file is the right version for this program!

---

Solution:

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

2) Download http://downloads.mysql.com/archives/mysql-5.0/mysql-5.0.86.tar.gz

3) tar -xzvf http://downloads.mysql.com/archives/mysql-5.0/mysql-5.0.86.tar.gz

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

5) mysql_install_db

6) service mysqld start

(chkconfig mysqld on)

REFERENCE:
http://www.jasonlitka.com/2009/09/25/mysql-upgraded-to-5-0-86/