标签:mariadb
cd /etc/yum.repos.d/
touch MariaDB.repo
2. vi MariaDB.repo
3. 粘贴如下代码:
# MariaDB 5.5 CentOS repository list - created 2014-03-04 11:20 UTC
# http://mariadb.org/mariadb/repositories/
[mariadb]
name=MariaDB
baseurl=http://mirrors.ustc.edu.cn/mariadb/mariadb-5.5.43/yum/centos6-amd64
gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
gpgcheck=1
4. : 键入":wq" 保存退出
5. yum -y install MariaDB-server MariaDB-client #开始安装
6.安装完成,启动数据库服务
service mysql start
本文出自 “不进则退” 博客,请务必保留此出处http://merrycheng.blog.51cto.com/5331300/1652815
标签:mariadb
原文地址:http://merrycheng.blog.51cto.com/5331300/1652815