Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm running MySQL 5.0 in production on CentOS. How do I migrate to Percona Server 5.1 safely?

The documentation of Percona Server doesn't include any information on migrating. Any help is greatly appreciated.

share|improve this question
up vote 0 down vote accepted

At a guess I'd say mysqldump your database from MySQL and reimport it into the Percona server.

I don't know if you can just fire up Percona server pointed to the same datadir as MySQL. Might be worth investigating.

share|improve this answer
You can just install Percona Server over MySQL. It is binary compatible. – Aaron Brown Jan 29 '12 at 22:17

The data files are compatible with percona server. You just need to start percona server mysqld and everything will work.

Only when you enable some features (like extra rollback segments) on percona server, you might not be able to go back to mysql. but you rarely need to change this parameter.

share|improve this answer

Here is a good tutorial You need just remove mysql-server and install percona-server, that's all.

Percona and Mysql binary compatible!

apt-get remove mysql-server mysql-client mysql-common
apt-get autoremove

Than just add percona repo and

apt-get update
apt-get install percona-server-server

After that you can start Mysql and it will work

service mysql start

More complete tutorial you can find by link below

share|improve this answer
Please don't post link-only answers. – ceejayoz Mar 16 '15 at 14:10
I improved my answer, please not vote down me – Oleg Abrazhaev Mar 17 '15 at 15:18

It's pretty much the same upgrade path from 5.0 to 5.1, of course to make better use of Percona enhancements you should consult the wiki.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.