[Solved] How to replace MySQL with Percona Server Debian or Ubuntu?  


admin
Posts: 83
Admin
(@admin)
Member
Joined: 2 years ago

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
Share:

Please Login or Register