Centos 6.5 64位安装MariaDB

老牛  2015-08-17 20:23  阅读 202 views 次 评论 0 条
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
版权声明:本文为原创文章,版权归 老牛 所有,欢迎分享本文,转载请保留出处!
  • 没有相关文章!
  • 发表评论


    表情