centos7/redhat7安裝mycli


一、mycli介紹

MySQL的命令行客戶端,可以執行自動完成和語法突出顯示。

主頁:http://mycli.net
文檔:http://mycli.net/docs

github:https://github.com/dbcli/mycli

二、實驗環境

VMware Workstation Pro15

Red Hat Enterprise Linux Server release 7.3 (Maipo)/CentOS Linux release 7.3.1611 (Core)

三、手動安裝mycli

1、下載並安裝epel源

wget --no-check-certificate https://mirrors.tuna.tsinghua.edu.cn/epel//epel-release-latest-7.noarch.rpm -O /tmp/epel-release-latest-7.noarch.rpm
yum localinstall -y /tmp/epel-release-latest-7.noarch.rpm

2、安裝python-pip

yum install -y python-pip

3、安裝mycli

pip install mycli

四、腳本安裝mycli

如果你確定你的系統為centos7/redhat7,又不會安裝,可以執行下面這條命令

wget --no-check-certificate https://gitee.com/kklinux/shell/raw/master/myclik.sh && bash myclik.sh

 


免責聲明!

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



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