Centos 6.5 64位安装MariaDB

  

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

粘贴以下内容,保存退出

1
2
3
4
5
6
7
# 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
1
sudo yum install MariaDB-server MariaDB-client

启动

1
sudo /etc/init.d/mysql start

或者

1
sudo service mysql start

关闭就换stop 重启restart

卸载

1
sudo yum remove MariaDB-server

您必须才能评论!

收藏
新建分类
没有账号? 忘记密码?