Linux centos 安装 mysql 5.6
一、mysql下载 1、方式一(简单粗暴)
2、方式二(官方下载)
?二、安装mysql(注:大佬飞过,如有不好的地方欢迎留言) 1、解压
2、添加系统mysql组与用户mysql
3、创建mysql数据库数据目录并指向
三、设置mysql
? 遇到的问题?? 1、FATAL ERROR: please install the following Perl modules before executing ./scripts/mysql_install_db: 解决方法:yum -y install autoconf 2、Installing MySQL system tables.../home/mysql//bin/mysqld: error while loading shared libraries: libaio.so.1: cannot open shared object file: No such file or directory 解决方法:yum install libaio (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |