mysql命令行客户端神器mycli安装

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了mysql命令行客户端神器mycli安装相关的知识,希望对你有一定的参考价值。

基于python安装pip

yum install python-pip python-devel
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
python get-pip.py 
pip install mycli

发现报错

 Found existing installation: configobj 4.7.2
ERROR: Cannot uninstall ‘configobj‘. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.

解决

# pip install --ignore-installed mycli

使用

# mycli -uroot -p123
mysql 5.7.22
mycli 1.20.1
Chat: https://gitter.im/dbcli/mycli
Mail: https://groups.google.com/forum/#!forum/mycli-users
Home: http://mycli.net
Thanks to the contributor - Phil Cohen
mysql root@localhost:(none)> show databases; 

以上是关于mysql命令行客户端神器mycli安装的主要内容,如果未能解决你的问题,请参考以下文章

mycli工具mysql命令自动补全

MySQL命令行客户端工具之mycli

Ubuntu安装mycli,让mysql命令行可以自动提示

Windows 下安装mysql 辅助工具mycli

Ubuntu安装mycli,让mysql命令行可以自动提示

mysql命令行自动补全——mycli安装