Report this

What is the reason for this report?

Issue with installing MYSQL Server

Posted on October 2, 2014

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.



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

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

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.