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

mycli工具mysql命令自动补全

时间:2019-09-10 11:39:53      阅读:138      评论:0      收藏:0      [点我收藏+]

标签:html   comm   long   utils   get   sql命令   使用   python 2   mysql命令   

简介

MyCli 是一个 MySQL 的命令行客户端,可以实现自动补全和语法高亮。MyCli 也可用于 MariaDB 和Percona。

项目地址:http://mycli.net/

技术图片

 

 

安装

pip安装,Mycli is tested on macOS and Linux. It runs on Python 2.7 and 3.4+.

$ sudo yum install python-pip python-devel
$ sudo pip install mycli

错误解决

1、ImportError: ‘module‘ object has no attribute ‘check_specifier‘

https://www.itread01.com/content/1541088123.html

2、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.

https://learnku.com/articles/16815/mysql-command-line-artifact-mycli

使用

[root@yl /]# mycli -uroot
Password:
mariadb 10.2.16-MariaDB-log
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 - Shoma Suzuki
mariadb root@localhost:(none)> exit
Goodbye!

 

mycli工具mysql命令自动补全

标签:html   comm   long   utils   get   sql命令   使用   python 2   mysql命令   

原文地址:https://www.cnblogs.com/-abm/p/11496463.html

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