首页 > 数据库技术 > 详细

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

时间:2019-12-11 11:20:20      阅读:72      评论:0      收藏:0      [点我收藏+]
基于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安装

原文:https://blog.51cto.com/5157495/2457570

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!