MySQL 数据库的tab 补全功能 (懒人必备)
阅读原文时间:2023年07月11日阅读:1

MySQL 数据库的tab补全功能

跟着步骤走~~ 懒人养成第一步

不仅帮你补全 甚至预判你的预判,就问你可怕不可怕

yum -y install epel-release
yum -y install zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline-devel tk-devel gdbm-devel db4-devel libpcap-devel xz-devel gcc

tar -zxvf Python-3.9.0.tgz

yum -y install libffi-devel zlib* python-devel openssl-devel

cd Python-3.9.0/
./configure --prefix=/usr/local/python --with-ssl
make && make install

ln -s /usr/local/python/bin/python3 /usr/bin/

echo 'export PATH=/usr/local/python/bin:$PATH' >> /etc/profile
source /etc/profile

pip3 install mycli

mycli -u root -p <密码> #mycli -u root -p abc123