Centos安装mariadb
简单说一下就可以了,很简单的。
1。安装mariadb-server
yum install mariadb-server
2。设置为开机启动程序
systemctl enable mariadb
systemctl start mariadb
3。设置mariadb的基本配置
mysql_secure_installation
4。登陆数据库,完成登陆
mysql -uroot -p
专业辅助:
CentOS安装Mysql:https://www.linode.com/docs/databases/mysql/how-to-install-mysql-on-centos-7/
CentOS安装Mariadb:https://www.linode.com/docs/databases/mariadb/how-to-install-mariadb-on-centos-7/