mycli tool mysql command auto-completion

Brief introduction

MyCli  is a MySQL command-line client, you can achieve auto-completion and syntax highlighting. MyCli also be used MariaDB and Percona.

Project Address: http://mycli.net/

 

 

installation

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

Error Resolution

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

use

[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!

 

Guess you like

Origin www.cnblogs.com/-abm/p/11496463.html