Installation sequence rpm -ivh mysql-community-common-5.7.18-1.el7.x86_64.rpm mysql-community-libs-5.7.18-1.el7.x86_64.rpm (depends on common) mysql-community-client-5.7.18-1.el7.x86_64.rpm (depends on libs) mysql-community-server-5.7.18-1.el7.x86_64.rpm (depends on common, client) mysql-community-devel-5.7.18-1.el7.x86_64.rpm (MySQL header files and library files) yum install gcc gcc-c++ ncurses-devel perl yum install cmake -y groupadd mysql useradd -r -g mysql mysql mkdir -p /usr/local/mysql mkdir -p /data/mysqldb tar -zxvf mysql-boost-5.7.18.tar.gz and then install vi /etc/my.cnf datadir=/data/mysqldb/ socket=/data/mysqldb/mysql.sock explicit_defaults_for_timestamp=true mysqld --initialize ln –s /data/mysql/mysql.sock /var/lib/mysql/ chown mysql:mysql /var/lib/mysql -R chmod -R 777 /data/mysqldb service mysqld stop mysqld_safe --skip-grant-tables & mysql -uroot -p >use mysql; > update user set authentication_string=PASSWORD("password") where user="root"; update user set host='%' where user="root"; FLUSH PRIVILEGES; service mysqld restart mysql -uroot -ppassword SET PASSWORD = PASSWORD('password'); The above is the step record of installing MySQL 5.7.18 on Centos 6.9 introduced by the editor. I hope it will be helpful to everyone. If you have any questions, please leave me a message and the editor will reply to you in time. I would also like to thank everyone for their support of the 123WORDPRESS.COM website! You may also be interested in:
|
<<: A brief analysis of the configuration items of the Angular CLI release path
I'm playing with big data recently. A friend ...
Disadvantages of Tables 1. Table takes up more byt...
If the program service is deployed using k8s inte...
Table of contents 1. Introduction to platform bus...
The order in which objects call methods: If the m...
This is the installation tutorial of mysql5.7.18....
This article shares the specific code of Vue to i...
1. When the width of the adjacent floating layer o...
There is no need to say much about the difference...
Table of contents Preface Case optimization summa...
Recently, I found a fun hover animation from the ...
1. Why do packaging? Facilitates overall code cal...
Nginx reverse proxy multiple servers, which means...
Using the <img> element with the default sr...
Installation Environment 1. gcc installation To i...