Bug #33113 mysql_install_db is linked to wrong folder for messagefile on IBM AIX
Submitted: 10 Dec 2007 13:24 Modified: 12 Dec 2007 13:19
Reporter: Susanne Ebrecht Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Server: Packaging Severity:S3 (Non-critical)
Version:5.1.21 OS:IBM AIX (5.2 64bit)
Assigned to: CPU Architecture:Any

[10 Dec 2007 13:24] Susanne Ebrecht
Description:
Using mysql-5.1.21-beta-aix5.2-powerpc-64bit.tar.gz
$ gunzip mysql-5.1.21-beta-aix5.2-powerpc-64bit.tar.gz
$ tar xvf mysql-5.1.21-beta-aix5.2-powerpc-64bit.tar
$ cd mysql-5.1.21-beta-aix5.2-powerpc-64bit
$ ./scripts/mysql_install_db --basedir=/REAL PATH/mysql-5.1.21-beta-aix5.2-powerpc-64bit --force

071210 15:15:18 [ERROR] Can't find messagefile '/data/mysqldev/susanne/mysql-5.1.21-beta-aix5.2-powerpc-64bit/share/english/errmsg.sys'
071210 15:15:18 [ERROR] Aborting

The messagefile are not in "share/" they are in "share/mysql/"

A workaround is:

$ cd share
$ ln -s mysql/english english
$ cd ..
$ ./scripts/mysql_install_db --basedir=/REAL PATH/mysql-5.1.21-beta-aix5.2-powerpc-64bit --force

How to repeat:
Install from package on IBM AIX 5.2 and run the mysql_install_db script.

Suggested fix:
Link the messagefile to the right folder.
[12 Dec 2007 13:19] Daniel Fischer
Duplicate of bug#30678. Fixed in 5.1.22.