首页 » MariaDB »

Centos 6.5 64位安装MariaDB

vi /etc/yum.repos.d/MariaDB.repo

粘贴以下内容,保存退出

# MariaDB 10.0 CentOS repository list - created 2015-08-17 12:18 UTC
# http://mariadb.org/mariadb/repositories/
[mariadb]
name = MariaDB
baseurl = http://yum.mariadb.org/10.0/centos6-amd64
gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
gpgcheck=1
sudo yum install MariaDB-server MariaDB-client

启动

sudo /etc/init.d/mysql start

或者

sudo service mysql start

关闭就换stop 重启restart

卸载

sudo yum remove MariaDB-server

本文标签:

相关文章推荐

  • 没有相关文章!

转载请保留,转载自:老牛博客
原文地址 http://xiaohost.com/1312.html

发表评论