Migrate from MySQL to MariaDB in Ubuntu
The biggest movement of escaping from MySQL in this century starts, openSUSE,Fedora and Arch have started to use MariaDB instead of MySQL as their default database. Many people also dislike the attitude of Oracle on MySQL, so it's reasonable to migrate from MySQL to MariaDB. The whole process is not complicated. Here we share the steps to migrate from MySQL to MariaDB in Ubuntu.
sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 0xcbcb082a1bb943db
Modify /etc/apt/sources.list, add:
# MariaDB 5.5 repository list - created 2013-04-08 14:44 UTC # http://mariadb.org/mariadb/repositories/ deb http://ftp.osuosl.org/pub/mariadb/repo/5.5/debian squeeze main deb-src http://ftp.osuosl.org/pub/mariadb/repo/5.5/debian squeeze main
Now we can start to install MariaDB
sudo apt-get update sudo apt-get install mariadb-server
Ubuntu will automatically uninstall MySQL and install MariaDB. You don't need to recompile PHP, phpMyAdmin is also supported by default. There is no big impact after installing MariaDB.
Source : http://lunax.info/archives/3003.html