1. 解压压缩包
2. 设置 mysql_home 环境变量
2. 与 5.7 不同 5.5 以前 使用 mysql/scripts 下的 ./mysql_install_db 脚本 初始化。!
3.启动mysql服务和添加开机启动mysql服务:
添加开机启动:执行命令cp support-files/mysql.server /etc/init.d/mysql,把启动脚本放到开机初始化目录
启动mysql服务:执行命令service mysql start
博客地址:
https://www.cnblogs.com/lhrbest/p/7445468.html
原文:https://www.cnblogs.com/whm-blog/p/10895952.html