2019-06-14 – Python量化投资

2019-06-14

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

「点点赞赏,手留余香」

    还没有人赞赏,快来当第一个赞赏的人吧!