您的位置:首页 > 数据库 > MySQL

Ubuntu mysql 换为 Percona server

2012-06-09 00:00 435 查看

Percona apt Repository

Debian and Ubuntu packages from Percona are signed with a key. Before using the repository, you should add the key toapt. To do that, run the following commands:

$ gpg --keyserver  hkp://keys.gnupg.net --recv-keys 1C4CBDCDCD2EFD2A
... [some output removed] ...
gpg:               imported: 1

$ gpg -a --export CD2EFD2A | sudo apt-key add -


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


Remember to update the local cache:

# apt-get update


After that you can install the server and client packages

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


在有mysql 的ubuntu 上只需要 apt-get autoremove mysql客户端 和 服务器 就可以 执行上面的命令啦
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  Percona Mysql server