mysql命令行客戶端神器mycli安裝

基於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; 
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章