码迷,mamicode.com
首页 > 数据库 > 详细

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

时间:2016-11-14 16:03:59      阅读:281      评论:0      收藏:0      [点我收藏+]

标签:mysql初始化出错

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

技术分享


初始化出错

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报错(一)

标签:mysql初始化出错

原文地址:http://1016024707.blog.51cto.com/7652257/1872629

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!