yum install -y mariadb mariadb-server
systemctl start mariadb
systemctl enable mariadb
#初始化
mysql_secure_installation
#更改当前用户密码
set password=password('123456');
yum install -y mariadb mariadb-server
systemctl start mariadb
systemctl enable mariadb
#初始化
mysql_secure_installation
#更改当前用户密码
set password=password('123456');