Get the App
SLTechnology News&Howtos  ›  Database  › 

Mysql command line auto-completion-- mycli installation

Shulou Source: shulou.com Published: 2022-06-01 22:03:34 10月02日 Update

1. Install piping [root @ mysql ~] # yum-y install python-pip python-devel [root@mysql ~] # curl https://bootstrap.pypa.io/get-pip.py-o get-pip.py [root@mysql ~] # python get-pip.py 2 based on python get-pip.py. The error found is as follows: Found existing installation: configobj 4.7.2ERROR: 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.3, resolve errors: [root@mysql ~] # pip install-- ignore-installed mycli4, test results: [root@mysql ~] # mycli-uroot-p123.com # use the command mycli to log in to the database # the following is the prompt (2003, "Can't connect to MySQL server on 'localhost' ([Errno 2] No such file or directory)") Failed to connect by socket Retrying over TCP/IPmysql 5.7.24mycli 1.20.1Chat: https://gitter.im/dbcli/mycliMail: https://groups.google.com/forum/#!forum/mycli-usersHome: http://mycli.netThanks to the contributor-Mikhail Borisov5, test the effect of writing SQL statements (hints that appear You can use the up and down keys to make a selection. ):

-this is the end of this article. Thank you for reading-

Tags: Effects prompts tests commands up and down information data database so far statements errors login selection Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Huawei MySQL Redmi Docker Shulou Technology