Install MySQL Server on CentOS 7
Category: programming
Since CentOS 7, MySQL has been replaced with MariaDB as the default “official” database management software. A quick search on Google yeilded a few posts and all of them are about MariaDB. Well, I cannot blame those authors anyway since if you did not install MySQL rpm and you try typing “yum install mysql-server” on CentOS 7, you do not see any error report of “package not found” but instead yum will return MariaDB as the result. Since MySQL was purchased by Orable, there is an increasing trend for developers to switch to PostgreSQL and MariaDB but still there are many users sticking to MySQL now. So let’s see how to install a real MySQL on CentOS 7.
Add MySQL rpm:
Install MySQL server:
Start MySQL server and check its version:
References: