How to replace MySQL with Percona Server on Debian or Ubuntu

4
(2)

You can safely replace MySQL with Percona Server without lossing any data. In order to do it, please follow the instructions bellow

1. Import Percona GPG key

# apt-key adv --keyserver keys.gnupg.net --recv-keys 1C4CBDCDCD2EFD2A

2. Add this to /etc/apt/sources.list, replacing VERSION with the name of your distribution:

deb http://repo.percona.com/apt VERSION main
deb-src http://repo.percona.com/apt VERSION main

3. Update the local cache:

apt-get update

4. Install Percona packages. When asked please don’t change root password.

apt-get install percona-server-server-5.5 percona-server-client-5.5

5. Set Percona Server to auto-start

update-rc.d mysql defaults

Similar Posts:

1,269

How useful was this post?

Click on a star to rate it!

Average rating 4 / 5. Vote count: 2

No votes so far! Be the first to rate this post.

Scroll to Top