About: it’s a database server.

Step1. Install packages

yum install wget

Step2. Download MySQL rpm

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

Step3. Install the rpm

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

Note: During installation, you will be asked if you want to accept the results from the .rpm file’s GPG verification. If no error or mismatch occurs, enter — y

Step4. Install Mysql server

yum install mysql-server

Step5. Start the service

systemctl start mysqld

Step6. Setup the database

mysql_secure_installation

Step7. Log in and check database

mysql -u root -p
mysql>

LEAVE A REPLY

Please enter your comment!
Please enter your name here