Software >> OS >> Unix >> Linux >> RHEL >> 7 >> Software >> MySQL >> How to install MySQL

sudo wget http://repo.mysql.com/mysql-community-release-el7-5.noarch.rpm

sudo rpm -ivh mysql-community-release-el7-5.noarch.rpm

sudo yum install mysql-server -y

sudo systemctl start mysqld