mycli---數據庫工具(提示、自動補全)


前言

朋友介紹了一個工具,mycli,支持MySQL查詢語句自動補全等,這里給大家介紹一下。

大家也可以直接去官網看一下,安裝使用都很簡單。

安裝

$ pip install -U mycli

$ brew update && brew install mycli  # Only on OS X

$ sudo apt-get install mycli # Only on debian or ubuntu

三種方式,簡單到不行

登錄數據庫

也是三種方式,很簡單

➜ mycli -h localhost -u root test
Version: 1.10.0
Chat: https://gitter.im/dbcli/mycli
Mail: https://groups.google.com/forum/#!forum/mycli-users
Home: http://mycli.net
Thanks to the contributor - Daniel Black
mysql root@localhost:test> quit


➜mycli mysql -u root
Version: 1.10.0
Chat: https://gitter.im/dbcli/mycli
Mail: https://groups.google.com/forum/#!forum/mycli-users
Home: http://mycli.net
Thanks to the contributor - Steve Robbins


➜ mycli mysql://root@localhost:3306/test
Version: 1.10.0
Chat: https://gitter.im/dbcli/mycli
Mail: https://groups.google.com/forum/#!forum/mycli-users
Home: http://mycli.net
Thanks to the contributor - Iryna Cherniavska
mysql root@localhost:test>

截圖


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM