1. Do a good job of cleaning before installation rpm -pa | grep mysql or rpm -qa | grep -i mysql yum remove mysql-xxx-xxx find / -name mysql rm -rf /xxx/xxx/xxx 2. Download the corresponding installation package Download link: https://dev.mysql.com/downloads/repo/yum/ 3. Install MySQL Execute rpm file rpm -ivh mysql57-community-release-el7-11.noarch.rpm Install mysql yum install mysql-community-server Start mysql service Serve mysql start Get the initialization password cat /var/log/mysqld.log | grep password Enter the database to change the password mysql -uroot -p ALTER USER 'root'@'localhost' IDENTIFIED BY 'MyNewPass4!'; Enable remote access use mysql; update user set host='%' where user='root'; Open port 3306 vim /etc/sysconfig/iptables -A INPUT -p tcp -m state --state NEW -m tcp --dport 3306 -j ACCEPT service iptables restart Summarize The above is a detailed tutorial on how to install mysql8.0 using the Linux yum command. I hope it will be helpful to you. If you have any questions, please leave me a message and I 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:
|
<<: Detailed explanation of mysql basic operation statement commands
>>: Detailed steps for creating a Vue scaffolding project
This article takes Centos7.6 system and Oracle11g...
Preface In order to follow the conventional WEB l...
1. Introduction After MySQL is started, BufferPoo...
Before configuration, we need to do the following...
The first tutorial for installing MySQL-5.7.19 ve...
Operation effect: html <div class="tic-ta...
Table of contents 1. The reason why the limit is ...
Today, when learning PHP, of course, you have to ...
This article collects the fonts used in the logos...
Table of contents 1. Build the operating environm...
This article describes how to enable https servic...
1. WebDesignerWall 2. Veerle's Blog 3. Tutori...
1. Download MySQL URL: https://dev.mysql.com/down...
1. Unzip the mysql compressed package to the /usr...
This article shares simple HTML and music player ...