Setting up LAMP in Centos 7

  • Posted July 16, 2014

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.’


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 (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