Issue with installing MYSQL Server

Posted October 2, 2014 4.3k 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.


These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
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
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.