Question

Setting up LAMP in Centos 7

Posted July 16, 2014 4k views

Yum repositories seems to have some issues. Just deployed a droplet and as soon as I go ‘yum install mysql-server’ it gives me 'No package mysql-server available.’

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.

1 answer

CentOS 7 (as well as RHEL 7) does not include MySQL. It instead ships MariaDB which a drop in replacement. You can install it with:

sudo yum install mariadb-server mariadb
Submit an Answer