Issue with installing MYSQL Server

October 2, 2014 1.6k views

I updated to CentOS 7.0 but now I can't seem to install a MYSQL Server.

command used: yum install mysql-server

It say's there's no package named mysql-server.

1 Answer

CentOS 7 does not ship with MySql. MariaDB, a MySQL drop-in replacement, is available in the repositories. You can install it with:

sudo yum install mariadb-server mariadb

Check out:

If you want to install MySql, you'll need to add an additional repository. Run:

sudo rpm -Uvh http://dev.mysql.com/get/mysql-community-release-el7-5.noarch.rpm
by Mitchell Anicas
In this guide, we'll get a LAMP stack installed on an CentOS 7 VPS. A "LAMP" stack is a group of open source software that is typically installed together to enable a server to host dynamic websites and web apps. This term is actually an acronym which represents the **L**inux operating system, with the **A**pache web server. The site data is stored in a **M**ySQL database (using MariaDB), and dynamic content is processed by **P**HP.
Have another answer? Share your knowledge.