Skip to content

Instantly share code, notes, and snippets.

@alexsunxl
Created March 27, 2019 11:08
Show Gist options
  • Save alexsunxl/c75e19223f4a7577552139678bbb5ec4 to your computer and use it in GitHub Desktop.
Save alexsunxl/c75e19223f4a7577552139678bbb5ec4 to your computer and use it in GitHub Desktop.
Install MySQL 8.0 on CentOS 7
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