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.

Hjalp dette svar dig? 0 Kunder som kunne bruge dette svar (0 Stem)