ubuntu16 安装mysql5.7

ubuntu16 安装mysql5.7

温馨提示:

MySQL一定要下载对版本;

MySQL一定要下载对版本;

MySQL一定要下载对版本;

ubuntu16 编译安装mysql5.7 

mysql下载地址:MySQL5.7下载

wget https://dev.mysql.com/get/Downloads/MySQL-5.7/mysql-boost-5.7.21.tar.gz

最后在设为系统开机服务: chkconfig 已经废弃,建议使用 systemctl ,相关命令如下:

cp /data/server/mysql/support-files/mysql.server /etc/init.d/mysqld

systemctl daemon-reload  [重新加载 service 文件]
systemctl start mysqld
systemctl stop  mysqld
systemctl restart mysqld



参考地址:

Linux 源码编译安装MySQL 5.7

ubuntu16.04编译安装mysql-boost-5.7.21并编译成php扩展测试与使用

ubuntu-16.04源码编译安装mysql-5.7.17

原文地址:https://www.cnblogs.com/dafei4/p/12939142.html