Home  >  Article  >  Database  >  Detailed explanation of how to install mysql5.7.18 and change the initial password under Centos7.3

Detailed explanation of how to install mysql5.7.18 and change the initial password under Centos7.3

黄舟
黄舟Original
2017-06-18 10:54:151234browse

This article mainly introduces in detail the method of installing mysql5.7.18 under Centos7.3 and changing the initial password. It has certain reference value. Interested friends can refer to it

This article shares the installation of mysql5.7.18 under Centos7.3 and the modification of the initial password for your reference. The specific content is as follows

1. Official installation document

dev. mysql.com/doc/mysql-yum-repo-quick-guide/en/

2. Download the Mysql yum package


Download to Upload

locally to the server, or use wget to download directly

wget http://repo.mysql.com/mysql57-community-release-el7-10.noarch.rpm

3. Transfer the software source

to the platform-and- Replace version-specific-package-name with the rpm name you downloaded

sudo rpm -Uvh platform-and-version-specific-package-name.rpm

For example

rpm -Uvh mysql57-community-release-el7-10.noarch.rpm


4. Install the mysql server

yum install -y mysql-community-server

If the network environment is not very good, you can go make a cup of tea after executing the command

The above is the detailed content of Detailed explanation of how to install mysql5.7.18 and change the initial password under Centos7.3. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn