Skip to content

Instantly share code, notes, and snippets.

@giwa
Last active September 3, 2015 08:24
Show Gist options
  • Save giwa/795c7d1c4e93b2311cee to your computer and use it in GitHub Desktop.
Save giwa/795c7d1c4e93b2311cee to your computer and use it in GitHub Desktop.
Install MariaDB 10.1 in CentOS 6.6 ref: http://qiita.com/giwa/items/a8bba1901080b7204fc2
$ yum remove mysql
vi /etc/yum.repos.d/MariaDB.repo
# MariaDB 10.0 CentOS repository list - created 2014-03-12 12:47 UTC
# http://mariadb.org/mariadb/repositories/
[mariadb]
name = MariaDB
baseurl = http://yum.mariadb.org/10.1/centos6-amd64
gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
gpgcheck=1
$ yum install MariaDB-server MariaDB-client MariaDB-devel
$ service mysql start
$ mysql --version
mysql Ver 15.1 Distrib 10.1.4-MariaDB, for Linux (x86_64) using readline 5.1
$ chkconfig mysql on
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment