千家信息网

怎么安装Ubuntu16.04 percona MySQL客户端

发表于:2024-09-21 作者:千家信息网编辑
千家信息网最后更新 2024年09月21日,本篇内容介绍了"怎么安装Ubuntu16.04 percona MySQL客户端"的有关知识,在实际案例的操作过程中,不少人都会遇到这样的困境,接下来就让小编带领大家学习一下如何处理这些情况吧!希望大
千家信息网最后更新 2024年09月21日怎么安装Ubuntu16.04 percona MySQL客户端

本篇内容介绍了"怎么安装Ubuntu16.04 percona MySQL客户端"的有关知识,在实际案例的操作过程中,不少人都会遇到这样的困境,接下来就让小编带领大家学习一下如何处理这些情况吧!希望大家仔细阅读,能够学有所成!

1)获取安装源:
wget https://repo.percona.com/apt/percona-release_0.1-6.$(lsb_release -sc)_all.deb

2)安装安装源:dpkg -i percona-release_0.1-6.$(lsb_release -sc)_all.deb

3)更新apt配置:apt-get update

4)安装percona MySQL客户端:
apt-get install percona-server-client-5.7 percona-server-common-5.7 ibperconaserverclient20* mysql-common

【注】可用dpkg --purge mysqlXXX 强制卸载Oracle MySQL

可用 dpkg -S /usr/bin/mysql 检验mysql版本
如下:
root@UHDP04:~# dpkg -S /usr/bin/mysql_config
libperconaserverclient20-dev: /usr/bin/mysql_config


"怎么安装Ubuntu16.04 percona MySQL客户端"的内容就介绍到这里了,感谢大家的阅读。如果想了解更多行业相关的知识可以关注网站,小编将为大家输出更多高质量的实用文章!

0