2019-06-14

Python publisher01 17℃

Cent OS 7.5 安装mycli

1.先配置一个阿里yum源

wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo

yum clean all

yum makecache

2.安装epel-release

yum -y install epel-release

3.安装pip和python开发工具python-devel

yum -y install python-pip python-devel

yum clean all

4.安装mycli

pip install mycli

5.使用mycli连接MySQL

[root@localhost ~]# mycli -h 192.168.0.104 -u root

Password:

mysql 5.7.12-log

mycli 1.19.0

Chat: https://gitter.im/dbcli/mycli

Mail: https://groups.google.com/forum/#!forum/mycli-users

Home: http://mycli.net

Thanks to the contributor – Darik Gamble

转载请注明:Python量化投资 » 2019-06-14

喜欢 (0)or分享 (0)