The RHEL/CentOS series of Linux operating systems do not have the MySQL source themselves, so you need to download and install it yourself. This article describes how to install the MySQL 5.7.x database. Step 1: Download the source [root@client ~]# wget http://repo.mysql.com/mysql57-community-release-el7-8.noarch.rpm Note: Select the one starting with mysql57-community-releasexxx. Do not select the one starting with mysql-community-releasexxx. The one with 57 is the mysql 5.7 version. Step 2: Install the source [root@client ~]# rpm -ivh mysql57-community-release-el7-8.noarch.rpm After installing the mysql5.7 source, there will be two more files in the /etc/yum.repo.d directory mysql-community.repo and mysql-community-source.repo Step 3: Direct installation [root@client yum.repos.d]#yum install mysql-server Step 4: Database initialization and startup [root@client ~]# mysqld --initialize [root@client ~]# mysqld --user=root After initialization, mysql will generate a temporary password (/var/log/mysqld.log) Modify the temporary password using the following command [root@client ~]# mysqladmin -uroot -p password Authorize the new user hadoop and log in using the new user hadoop Wonderful topic sharing: Installation tutorials for different versions of MySQL Installation tutorials for MySQL 5.7 versions Installation tutorials for MySQL 5.6 versions The above is the full content of this article. I hope it will be helpful for everyone’s study. I also hope that everyone will support 123WORDPRESS.COM. You may also be interested in:
|
<<: Detailed explanation of MySQL date string timestamp conversion
>>: Vue implements button switching picture
Front-end is a tough job, not only because techno...
With the rise of mobile terminals such as iPad, p...
1. Embedded Software Level 1) Bootloader->Boot...
Click here to return to the 123WORDPRESS.COM HTML ...
Table of contents 1. Core 1. Get the Dom node 2. ...
After Ubuntu 20.04 is installed, there is no root...
<br />For some time, I found that many peopl...
This article example shares the specific code of ...
When optimizing a website, we must learn to use e...
1. Time formatting and other methods It is recomm...
After I finished reading JavaScript DOM, I had a ...
Web page design related questions, see if you can...
CSS3 implements a flippable hover effect. The spe...
1. HBase Overview 1.1 What is HBase HBase is a No...
You may have set a MySQL password just now, but f...