Question
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.
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.
×
This tut will help you
Install MYsql on Centos 7
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 reposudo rpm -Uvh http://dev.mysql.com/get/mysql-community-release-el7-5.noarch.rpm
and then you can install MySQLl like you normally do.How to install latest mysql 5.6 on CentOS7