安装方式:  二进制免编译安装

wKiom1gpVKSw9oWFAAAZnl_GJk8193.png


初始化出错

mysql/scripts/mysql_install_db --basedir=/application/mysql/ --datadir=/application/mysql/data/ --user=mysql

提示:

/application/mysql//bin/mysqld: error while loading shared libraries: libaio.so.1: cannot open shared object file: No such file or directory


Installation of system tables failed!  Examine the logs in

/application/mysql/data/ for more information.


wKiom1gpVQuQDoImAAEkAlRjdUY215.png


安装依赖包

[root@blog application]# yum install -y libaio libaio-devel


再进行初始化数据库

[root@blog application]# mysql/scripts/mysql_install_db --basedir=/application/mysql/ --datadir=/application/mysql/data/ --user=mysql

Installing MySQL system tables...

161114 12:17:35 [Note] /application/mysql//bin/mysqld (mysqld 5.5.52-log) starting as process 2189 ...

OK

Filling help tables...

161114 12:17:35 [Note] /application/mysql//bin/mysqld (mysqld 5.5.52-log) starting as process 2196 ...

OK



成功!!