no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
| — | percona [2015/06/02 03:30] (current) – created - external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Percona ====== | ||
| + | * [[Percona XtraDB]] | ||
| + | * [[Percona XtraDB Cluster]] | ||
| + | * [[Percona Homebrew]] | ||
| + | * [[Percona Toolkit]] | ||
| + | * [[InnoDB]] | ||
| + | * [[About Percona]] | ||
| + | * [[pt-find]] | ||
| + | |||
| + | * [[http:// | ||
| + | * [[http:// | ||
| + | |||
| + | Percona is a drop-in replacement for MySQL | ||
| + | |||
| + | === Installation === | ||
| + | |||
| + | |||
| + | When installing the software, make sure there is NOT a '' | ||
| + | |||
| + | === Ubuntu Repository === | ||
| + | |||
| + | Available [[http:// | ||
| + | |||
| + | < | ||
| + | gpg --keyserver | ||
| + | gpg -a --export CD2EFD2A | sudo apt-key add - | ||
| + | </ | ||
| + | |||
| + | Choose the repositories to add, based on your release. | ||
| + | |||
| + | Precise (12.04): | ||
| + | |||
| + | < | ||
| + | echo deb http:// | ||
| + | echo deb-src http:// | ||
| + | </ | ||
| + | |||
| + | Install the database and tools: | ||
| + | |||
| + | < | ||
| + | aptitude update | ||
| + | aptitude -y remove mysql-common mysql-server-5.5 mysql-client-core-5.5 mysql-server-core-5.5 | ||
| + | aptitude install percona-server-server percona-toolkit percona-xtrabackup percona-server-client | ||
| + | </ | ||
| + | |||
| + | For the cluster: | ||
| + | |||
| + | < | ||
| + | aptitude install percona-xtradb-cluster-server-5.5 percona-toolkit percona-xtradb-cluster-test-5.5 | ||
| + | </ | ||
| + | |||
| + | === Upgrade Notes === | ||
| + | |||
| + | When upgrading the packages from the Ubuntu repository, do a couple of things to make sure the process goes smoothly: | ||
| + | |||
| + | * Remove the .my.cnf for the root user | ||
| + | * Remove the my.cnf file in /etc/mysql | ||
| + | |||
| + | === Configuration Generator === | ||
| + | |||
| + | * [[http:// | ||
| + | |||
| + | When using the configuration generator, there are a few things you will need to change to make the configuration file compatible with Ubuntu server: | ||
| + | |||
| + | Change socket file to ''/ | ||
| + | |||
| + | The pid_file and the log_error values use the hostname as the prefix filename. | ||
| + | |||
| + | After that it should start fine. If this is a first install, and it's giving you issues, try removing the ib_log* files in ''/ | ||