zhenggaoxiong
摘要: 只需在配置SQLALCHEMY_DATABASE_URI时,加上pymysql就可以了: app.config['SQLALCHEMY_DATABASE_URI'] = 'mysql+pymysql://username:password@localhost/db' 前提是要安装pymysql,如果 阅读全文
posted @ 2018-12-14 14:35 zhenggaoxiong 阅读(855) 评论(0) 推荐(0) 编辑