Howto Install Percona With Xtradb Mysql on Ubuntu via Packags
Percona makes a great MySQL distribution, including their drop in replacement for innodb, XtraDB.
This Bash snippit will install Percona from their provided Repository.
gpg --keyserver hkp://keys.gnupg.net --recv-keys 1C4CBDCDCD2EFD2A
gpg -a --export CD2EFD2A | sudo apt-key add -
if [ ! -f /etc/apt/sources.list.d/percona.list ]
then
echo "deb http://repo.percona.com/apt $(grep DISTRIB_CODENAME /etc/lsb-release | sed 's/=/ /' | awk '{ print $2 }') main" | sudo tee /etc/apt/sources.list.d/percona.list
echo "deb-src http://repo.percona.com/apt $(grep DISTRIB_CODENAME /etc/lsb-release | sed 's/=/ /' | awk '{ print $2 }') main" | sudo tee -a /etc/apt/sources.list.d/percona.list
else
echo "Percona sources exist, $(cat /etc/apt/sources.list.d/percona.list)"
fi
apt-get update
apt-get install libmysqlclient18 percona-server-server-5.5 percona-server-client-5.5
If you already have MySQL you can backup, stop existing mysql, remove packages, remove config files and data files, install Percona, restore from backup.
Archives