最近在linux centos7下安装mysql5.6 遇到了很多问题,总结一下:
1 主要的参考步骤:http://blog.csdn.net/qq_17776287/article/details/53536761
2 遇到的问题
a /etc/my.cnf 文件中涉及到路径的配置一定要有。具体见 http://www.cnblogs.com/ShanFish/p/6652174.html
b 依赖文件的安装 yum install libaio* -y。具体见 http://blog.csdn.net/songmao3145/article/details/77676402
c my.cnf 文件中涉及到的权限一定要有 如 chown -R mysql:mysql /var/lib/mysql/。具体见 http://blog.csdn.net/xuxile/article/details/47808123
d 数据库设计到的重新初始化 /usr/local/mysql/scripts/mysql_install_db --user=mysql。具体见http://ask.csdn.net/questions/353660
以上四个问题我在安装的时候遇到了,也可能系统不一样,给大家提供一些参考,少走些弯路。