Environment PreparationUninstall mariadb rpm -qa | grep mariadb rpm -e --nodeps mariadb-libs-5.5.60-1.el7_5.x86_64 CentOS 7.6 has mariadb integrated inside, and installing mysql will conflict with mariadb files, so you need to uninstall mariadb first. Install MySQL Get the yum source (MySQL official website) Install yum source rpm -Uvh https://dev.mysql.com/get/mysql80-community-release-el7-3.noarch.rpm Check the startup status of each version The latest version 8.0 is enabled by default Disable 8.0 and enable 5.7 yum-config-manager --disable mysql80-community yum-config-manager --enable mysql57-community The command is in the yum-utils package. Installing it can solve the problem of not being able to find the Install mysqll Configure MySQL remote connection Check the MySQL version Start mysql && set it to start automatically systemctl start mysqld systemctl enable mysqld View the default generated password Login to change password Change Password ALTER USER 'root'@'localhost' IDENTIFIED BY 'NoPassword564925080!'; MySQL 5.7 has a password security check plug-in (validate_password) installed by default. The default password check policy requires that the password must contain uppercase and lowercase letters, numbers, and special symbols, and the length must not be less than 8 characters. Otherwise, the error message ERROR 1819 (HY000): Your password does not satisfy the current policy requirements will be displayed. Authorize remote login users GRANT ALL PRIVILEGES ON *.* TO 'noneplus'@'%' IDENTIFIED BY 'Noneplus564925080!' WITH GRANT OPTION; flush privileges; Open server port 3306 remote connection Summarize The above is the tutorial illustration of installing MySQL 5.7 GA version on CentOS 7.6 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:
|
<<: Vue implements upload component
>>: MySQL 8.0.13 installation and configuration tutorial under CentOS7.3
Whether it is a corporate website, a personal blo...
background During development, we may need some s...
This article shares the specific code of WeChat a...
I have learned some basic selectors of CSS before...
What you learn from books is always shallow, and ...
This article explains the difference between arro...
The first thing to do is to pick a good browser. ...
This article shares the specific code of node+exp...
Today, when I was practicing with the Baidu page,...
Introduction to Selenium Grid Although some new f...
The table is as follows: Code when Unity reads an...
Table of contents 1. Overview 1.1 Definition 1.2 ...
1. Project Structure 2.CallTomcat.java package co...
1 Pull the image from hup docker pull nginx 2 Cre...
Yesterday when I was implementing the function of...