MAC 安装MySQL-python

1、安装mysql5.7

   brew install mysql@5.7

2、安装mysql-client

   brew install mysql-client

3、vim ~/.bash_profile

   export LDFLAGS="-L/usr/local/opt/mysql-client/lib"
   export CPPFLAGS="-I/usr/local/opt/mysql-client/include"
   source ~/.bash_profile
posted @ 2020-12-25 17:03  茁壮的小草  阅读(255)  评论(0编辑  收藏  举报