1. Enter the URL https://www.mysql.com/downloads/, enter downloads, select Community
2. Select the corresponding version and system;
Input command:wget https://cdn.mysql.com//Downloads/MySQL-5.7/mysql-5.7.19-1.el6.x86_64.rpm-bundle.tar Download
3. Unzip
TAR-XVF Mysql-5.7.19-1.el6.x86_64.rpm-bundle.tar
4.RPM Installation
RPM-IVH mysql-community-common-5.7.19-1.el6.x86_64.rpm
RPM-IVH mysql-community-libs-5.7.19-1.el6.x86_64.rpm
RPM-IVH mysql-community-server-5.7.19-1.el6.x86_64.rpm
RPM-IVH mysql-community-client-5.7.19-1.el6.x86_64.rpm
RPM-IVH mysql-community-server-5.7.19-1.el6.x86_64.rpm
5. After successful installation, modify the My.cnf file and add User=root
Vi/etc/my.cnf
6. Initializing the database
Input command: mysqld--initialize-insecure
7. Start
Input command: mysqld
This startup method
or Nohup mysqld & way to start
Linux under Cenos system installation Mysql-5.7.19