初始化出错mysql/scripts/mysq"/>

在Centos系统中安装Mysql-5.5.52报错

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了在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.


技术分享


安装依赖包

[[email protected] application]# yum install -y libaio libaio-devel


再进行初始化数据库

[[email protected] 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报错的主要内容,如果未能解决你的问题,请参考以下文章

如何在虚拟机中安装CentOS 7系统

如何在CentOS6.5系统中安装Docker

如何在CentOS6.5系统中安装Docker

如何在CentOS6.5系统中安装Docker

如何在CentOS6.5系统中安装Docker

如何在CentOS6.5系统中安装Docker