首页 > 数据库技术 > 详细

YUM技术安装mariadb

时间:2018-01-31 13:41:30      阅读:181      评论:0      收藏:0      [点我收藏+]

curl -o /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo
curl -o /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-7.repo
yum clean all
yum makecache
yum install epel-release -y
yum makecache
yum install mariadb mariadb-server -y
systemctl restart mysqld
systemctl enable mysqld
mysqladmin -uroot -password 初始密码

YUM技术安装mariadb

原文:https://www.cnblogs.com/chenminklutz/p/8391526.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!