方法一:brew安装MySQL数据库 和 mysqlclient
brew install mysql
pip3 install mysqlclient
方法二:brew安装mysql-client,解决mysqlclient依赖问题
brew install mysql-client
echo 'export PATH="/usr/local/opt/mysql-client/bin:$PATH"' >> ~/.bash_profile
export PATH="/usr/local/opt/mysql-client/bin:$PATH"
pip3 install mysqlclient