Redhat: Install mysql

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:

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 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

Leave a Reply

Your email address will not be published. Required fields are marked *