1、安装
yum -y install mariadb-server mariadb mariadb-devel
2、启动
systemctl start mariadb
3、初始化设置
mysql_secure_installation
4、授权
grant all privileges on *.* to 'root'@'%' identified by '123456' with grant option;
flush privileges;
1、安装
yum -y install mariadb-server mariadb mariadb-devel
2、启动
systemctl start mariadb
3、初始化设置
mysql_secure_installation
4、授权
grant all privileges on *.* to 'root'@'%' identified by '123456' with grant option;
flush privileges;