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 follows1. Official installation documentdev. mysql.com/doc/mysql-yum-repo-quick-guide/en/2. Download the Mysql yum packagelocally to the server, or use wget to download directly
wget http://repo.mysql.com/mysql57-community-release-el7-10.noarch.rpm
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
rpm -Uvh mysql57-community-release-el7-10.noarch.rpm
4. Install the mysql server
yum install -y mysql-community-server
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!