Skip to content

Instantly share code, notes, and snippets.

@ckorkmaz
Created July 19, 2019 17:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ckorkmaz/3db3bb33a06a310f75ae406391393b96 to your computer and use it in GitHub Desktop.
Save ckorkmaz/3db3bb33a06a310f75ae406391393b96 to your computer and use it in GitHub Desktop.
MySQL 8 on CentOS 7
yum -y install https://dev.mysql.com/get/mysql80-community-release-el7-3.noarch.rpm
yum -y install mysql-community-server
systemctl start mysqld.service
systemctl enable mysqld.service
grep 'A temporary password is generated for root@localhost' /var/log/mysqld.log |tail -1
/usr/bin/mysql_secure_installation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment