Snippets: CentOS: Install MySQL Server

20th August 2020 at 2:19pm
Snippets: CentOS

For CentOS 7:

wget -O mysql57-community-release-el7-7.noarch.rpm http://dev.mysql.com/get/mysql57-community-release-el7-7.noarch.rpm
yum localinstall -y mysql57-community-release-el7-7.noarch.rpm 
yum install -y mysql-community-server

Enable and start:

systemctl enable mysqld
systemctl start mysqld