ITPub博客

首页 > 数据库 > MySQL > Ubuntu16.04 percona MySQL客户端安装

Ubuntu16.04 percona MySQL客户端安装

原创 MySQL 作者:longer3281 时间:2018-06-16 04:48:20 0 删除 编辑
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


来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/9606353/viewspace-2156257/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论
数据库架构师,DB从业经历 DB2,Oracle,MySQL,PGSQL,MonogDB 等数据库,hadoop,hive,spark,flink,doris等大数据技术。

注册时间:2009-05-22

  • 博文量
    69
  • 访问量
    185399