可以使用PyMySQL 下载方式: pip install PyMySQL 在sqlalchemy框架下连接MySQL: mysql+pymysql://username:password@server/db