PDA

View Full Version : mysql_install_db problems


sbeard
03-12-02, 13:19
I am installing MySQL in AIX 4.3.3 in order to use vBulletin. After doing these steps:

shell> groupadd mysql
shell> useradd -g mysql mysql
shell> cd /usr/local
shell> gunzip < /usr/local/mysql-3.23.47-ibm-aix4.3.3.0-rs6000.tar.gz| tar xvf -
shell> ln -s mysql-3.23.47-ibm-aix4.3.3.0-rs6000 mysql
shell> cd mysql
shell> scripts/mysql_install_db

I get this error:

Preparing db table
Preparing host table
Preparing user table
Preparing func table
Preparing tables_priv table
Preparing columns_priv table
Installing all prepared tables
exec(): 0509-036 Cannot load program ./bin/mysqld because of the following error
s:
0509-150 Dependent module libz.a(shr.o) could not be loaded.
0509-022 Cannot load module libz.a(shr.o).
0509-026 System error: A file or directory in the path name does not exi
st.
Installation of grant tables failed!

Examine the logs in ./data for more information.
You can also try to start the mysqld daemon with:
./bin/mysqld --skip-grant &
You can use the command line tool
./bin/mysql to connect to the mysql
database and look at the grant tables:

shell> ./bin/mysql -u root mysql
Try 'mysqld --help' if you have problems with paths. Using --log
gives you a log in ./data that may be helpful.

The latest information about MySQL is available on the web at
http://www.mysql.com
Please consult the MySQL manual section: 'Problems running mysql_install_db',
and the manual section that describes problems on your OS.
Another information source is the MySQL email archive.
Please check all of the above before mailing us!
And if you do mail us, you MUST use the ./bin/mysqlbug script!

I get the same error when trying the ./bin/mysqld --skip-grant & command. Any Ideas?

scarefaZ
05-07-02, 08:20
hy sbeard,

seems that you should install zlib.
You can find it at www.bull.de/pub

scarefaZ