Home > Database > Mysql Tutorial > 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

黄舟
Release: 2017-06-18 10:54:15
Original
1269 people have browsed it

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
Copy after login

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
Copy after login

For example

rpm -Uvh mysql57-community-release-el7-10.noarch.rpm
Copy after login


4. Install the mysql server

yum install -y mysql-community-server
Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template