One: Unpack the installation package in the/usr/local directory
II: MySQL directory structure
Three: Add user group MySQL, add user mysql, give/usr/local/mysql directory to MySQL user. Install the MySQL service and generate a temporary password for the first login:sj06rilbkd,>
--Error when installing MySQL, missing dependent library, need to install dependent library
./bin/mysqld:error while loading shared libraries:libaio.so.1:cannot open Shared object file:no such file or directory
Quad: SSL configuration and use of MySQL 5.7
V: Configure the MySQL environment variable
Export java_home=/opt/jdk/jdk1.7.0_80
Export Java_bin=/opt/jdk/jdk1.7.0_80/bin
Export path= $PATH: $JAVA _home/bin
Export classpath=.: $JAVA _home/lib/dt.jar: $JAVA _home/lib/tools.jar
Export Java_home java_bin PATH CLASSPATH
Export m2_home=/opt/maven/apache-maven-3.3.9
Export Path=${path}:${m2_home}/bin
Export Mysql_home=/usr/local/mysql
Export path= $MYSQL _home/bin: $PATH
Six: Start testing MySQL to see if the installation is successful. and modify the initialization password to: Shangxiaofei
Seven: Modify the MySQL configuration file, and the launch is explicitly copied to the ETC directory, and give the launch authorized
Eight: Modify the contents of Mysql.server and/etc/init.d/mysql as
IX: Modify the contents of the/ETC/MY.CNF for
Ten: Because the service mysql start command cannot be run, it is temporarily ignored. Setting allows users to link to any IP client
5.7.13 version of MySQL database installed under Liunx system