Ubuntu16 install mysql5.7

Tips:

MySQL must download the correct version;

MySQL must download the correct version;

MySQL must download the correct version;



Ubuntu16 compile and install mysql5.7 


mysql download address: MySQL5.7 download

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


Finally, set it as a system boot service: chkconfig has been abandoned, it is recommended to use systemctl , the relevant commands are as follows:

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

systemctl daemon-reload [reload service file]
systemctl start mysqld
systemctl stop  mysqld
systemctl restart mysqld



Reference address:

Compile and install MySQL 5.7 from Linux source code

Ubuntu16.04 compiles and installs mysql-boost-5.7.21 and compiles it into php extension for testing and use

Ubuntu-16.04 source code compile and install mysql-5.7.17



Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325903674&siteId=291194637