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.

這篇文章有幫助嗎? 0 用户发现这很有用 (0 投票)