想在fedora18上用yum装mariadb需要先做个repo。现在MariaDB主要有两个大版本,分别是5.5和10.0,以下两个都是适用于64位Fedora的repo。欢迎对号入座。
# MariaDB 5.5 Fedora repository list - created 2013-04-29 06:11 UTC
# http://mariadb.org/mariadb/repositories/
[mariadb]
name = MariaDB
baseurl = http://yum.mariadb.org/5.5/fedora18-amd64
gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
gpgcheck=1
××××××××××××××
# MariaDB 10.0 Fedora repository list - created 2013-04-29 06:10 UTC
# http://mariadb.org/mariadb/repositories/
[mariadb]
name = MariaDB
baseurl = http://yum.mariadb.org/10.0/fedora18-amd64
gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
gpgcheck=1
×××××××××××××××
# MariaDB 5.5 CentOS repository list - created 2013-04-29 15:26 UTC
# http://mariadb.org/mariadb/repositories/
[mariadb]
name = MariaDB
baseurl = http://yum.mariadb.org/5.5/centos6-amd64
gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
gpgcheck=1
要是遇上mysql-libs 冲突,可卸载后换装php-mysqlnd.x86_64