[root@Kry123 mysql]# ./bin/mysql_install_db --user=mysql --datadir=/data/mysql
2015-04-12 21:19:33 [WARNING] mysql_install_db is deprecated. Please consider switching to mysqld --initialize
2015-04-12 21:19:33 [ERROR] Child process: /usr/local/mysql/bin/mysqldterminated prematurely with errno= 32
2015-04-12 21:19:33 [ERROR] Failed to execute /usr/local/mysql/bin/mysqld --bootstrap --datadir=/data/mysql --lc-messages-dir=/usr/share/mysql --lc-messages=en_US
-- server log begin --
/usr/local/mysql/bin/mysqld: error while loading shared libraries: libaio.so.1: cannot open shared object file: No such file or directory
2015-04-12 21:19:33 [WARNING] mysql_install_db is deprecated. Please consider switching to mysqld --initialize
2015-04-12 21:19:33 [ERROR] Child process: /usr/local/mysql/bin/mysqldterminated prematurely with errno= 32
2015-04-12 21:19:33 [ERROR] Failed to execute /usr/local/mysql/bin/mysqld --bootstrap --datadir=/data/mysql --lc-messages-dir=/usr/share/mysql --lc-messages=en_US
-- server log begin --
/usr/local/mysql/bin/mysqld: error while loading shared libraries: libaio.so.1: cannot open shared object file: No such file or directory
编辑回复