20170310

MySQL-Python 只用于 Python 2,URI配置为 mysql://username:password@server/db

Python 3 下要使用另一个 PyMySQL 包,相应的URI改为 mysql+pymysql://username:password@server/db

使用 Oracle 提供的连接包也 OK

原文地址:https://www.cnblogs.com/likun/p/use-pymysql-under-python-3-in-sqlalchemy-uri.html