Created
March 27, 2019 11:08
-
-
Save alexsunxl/c75e19223f4a7577552139678bbb5ec4 to your computer and use it in GitHub Desktop.
Install MySQL 8.0 on CentOS 7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
su | |
yum localinstall https://dev.mysql.com/get/mysql80-community-release-el7-1.noarch.rpm | |
yum install mysql-community-server | |
systemctl enable mysqld | |
systemctl start mysqld | |
grep 'temporary password' /var/log/mysqld.log | |
#copy tmp password | |
mysql_secure_installation | |
# input tmp password and change |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment