Install Mysql On CentOS 7

CentOS 7 comes with MariaDB. The package mysql-server is no longer available. To install MariaDB on centos 7 use

yum -y install mariadb-server mariadb

To start

systemctl start mariadb.service

To enable on boot
systemctl enable mariadb.service

The name is different but mariadb is a drop in replacement, all the commands are the same.

Was this answer helpful? 0 Users Found This Useful (0 Votes)