I have installed mysql many many times – i decided to save a note for myself for later installation. This is to install msyql server on Redhat 7. Below is the step:
wget http://repo.mysql.com/mysql-community-release-el7-5.noarch.rpm
sudo rpm -ivh mysql-community-release-el7-5.noarch.rpm
yum update
sudo yum install mysql-server
sudo systemctl start mysqld
My next step will go to https://www.phpmyadmin.net/ to download phpmyadmin and set it up on my web server. I use this tool to manage the database.
We need to install mysql module:
yum install php-mysql
apachectl restart