Can’t install mysql on CentOS 7

It just says no package mysql-server available. I’ve tried every tutorial, egel and whatnot installed. It’s not on the list of things that are not supposed to be installed. Is there a way to force install it from somewhere that’s not from the fastest mirrors so I can see if the mirrors just aren’t working?

edit – I can install mysql-devel, just not anything else.

  • Centos 7 comes with MariaDB instead of MySQL. MariaDb is a open source equivalent to MySQL and can be installed with yum -y install mariadb-server mariadb. If you must have mysql you need to add the mysql-community repo sudo rpm -Uvh http://dev.mysql.com/get/mysql-community-release-el7-5.noarch.rpm and then you can install MySQLl like you normally do.

Comments are closed.