The Seven Year Itch.

MENU

Mac安装django mysqlclient出错解决方法、以及mysql启动

September 20, 2017 • Read: 327 • Python,MAC

第一步:chown -R whoami:admin /usr/local/share
第二步:

 

     brew uninstall mysql
     brew install mysql-connector-c
     brew unlink mysql-connector-c
     brew install mysql
     pip install mysql-python

启动、暂停 mysql

mysql.server start #开启
mysql.server stop # 停止
Tags: mac mysql
Archives QR Code
QR Code for this page
Tipping QR Code