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/

 

posted @ 2018-06-10 12:06  cicarius  阅读(115)  评论(0编辑  收藏  举报