首页 > 代码库 > 在Centos系统中安装Mysql-5.5.52报错(一)
在Centos系统中安装Mysql-5.5.52报错(一)
安装方式: 二进制免编译安装
初始化出错
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.
安装依赖包
[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
成功!!
本文出自 “Evoices” 博客,谢绝转载!
在Centos系统中安装Mysql-5.5.52报错(一)