您好,登錄后才能下訂單哦!
[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
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.
[root@mysql ~]# pip install --ignore-installed mycli
[root@mysql ~]# mycli -uroot -p123.com #使用命令mycli登錄到數(shù)據(jù)庫
#以下是提示信息
(2003, "Can't connect to MySQL server on 'localhost' ([Errno 2] No such file or directory)")
Failed to connect by socket, retrying over TCP/IP
mysql 5.7.24
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 - Mikhail Borisov
———————— 本文至此結(jié)束,感謝閱讀 ————————
免責聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點不代表本網(wǎng)站立場,如果涉及侵權(quán)請聯(lián)系站長郵箱:is@yisu.com進行舉報,并提供相關(guān)證據(jù),一經(jīng)查實,將立刻刪除涉嫌侵權(quán)內(nèi)容。