centos7 install mariadb

从最新版本的linux系统开始,默认的是 Mariadb而不是mysql!

使用系统自带的repos安装很简单:

yum install mariadb mariadb-server

systemctl start mariadb ==> 启动mariadb

systemctl enable mariadb ==> 开机自启动

mysql_secure_installation ==> 设置 root密码等相关

mysql -uroot -p123456 ==> 测试登录!

结束!

posted @ 2016-02-22 17:36  超超xc  Views(149)  Comments(0Edit  收藏  举报
I suppose,were childrenonec.