gentoo 安装percona 步骤:
1. cmake . -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBUILD_CONFIG=mysql_release -DFEATURE_SET=community -DWITH_EMBEDDED_SERVER=OFF -DCMAKE_INSTALL_PREFIX=/usr/local/mysql -DMYSQL_DATADIR=/var/lib/mysql
2. make && make install
3 mysql_install_db --basedir=/usr/local/mysql --datadir=/var/lib/mysql