Question

Issue with installing MYSQL Server

  • Posted 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.

Subscribe
Share

Try

yum search mysql

And you will see all packages that contains ‘mysql’

Try

yum list | grep -i mysql


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