为Debian安装mysqlsh命令行
问题 最近在使用mysql的文档存储方式,需要使用mysqlsh命令行,但是默认的Debian系统没有mysqlsh的安装源,所以只能自己添加apt安装源,对mysqlsh命令行进行安装。 解决 下载deb包 https://dev.mysql.com/downloads/repo/apt/ 安装依赖包 apt-get install lsb-release wget 安装deb包 dpkg -i mysql-apt-config_0.8.13-1_all.deb 安装mysqlsh 先进行更新准备: apt-get update 再进行安装: apt-get install mysql-shell 安装提示: MySQL APT Repo features MySQL Server along with a variety of MySQL components. You may select the appropriate product to choose the version that you wish to receive. Once you are satisfied with the configuration then select last option 'Ok' to save the configuration, then run 'apt-get