Gentoo 中用 MariaDB 替换 MySQL

# /etc/init.d/mysql stop
# emerge -1 mariadb
# revdep-rebuild
# /etc/init.d/mysql start
# mysql_upgrade -u root -p
# mysqlcheck --repair --all-databases -u root -p

OK,完工