码迷,mamicode.com
首页 > 数据库 > 详细

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

时间:2019-12-11 10:58:48      阅读:240      评论:0      收藏:0      [点我收藏+]

标签:boot   url   eve   database   http   files   err   mail   https   

基于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安装

标签:boot   url   eve   database   http   files   err   mail   https   

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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!