If you want to Install MySQL 5.6 Database server in Linux using repository, MySQL 5.5 version would be installed from default repository & Configure MySQL server and also enable MySQL service Linux. you will need to install MySQL client.
For installing specific version, you need to download or create a repository for the same. MySQL server most widely used database server. This is easy to configure and having good performance among them other database servers but you can’t restore the same database name in different database name.
So I’m going to install 5.6 version here using the repository from MySQL. you can manually download and install the server Once you forgot the root password and not able to retrieve this so, there’s a way to get the password from log file called mysql.log.
Check Out : How To Configure Samba Server
Step 1 : Create a repository file,
Step 2 : MySQL Server installation with client,
yum install mysql mysql-server -y
Step 3 : Start and enable MySQL service Linux
systemctl start mysqld && systemctl enable mysqld