mycli工具mysql命令自動補全

簡介

MyCli 是一個 MySQL 的命令行客戶端,能夠實現自動補全和語法高亮。MyCli 也可用於 MariaDB 和Percona。html

項目地址:http://mycli.net/python

 

 

安裝

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

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

錯誤解決

一、ImportError: 'module' object has no attribute 'check_specifier'git

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

二、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.bash

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

使用

[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!
相關文章
相關標籤/搜索