20170310 - Python 3 下 SQLAlchemy 的 MySQL 数据库 URI 配置

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

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

使用 Oracle 提供的连接包也 OK

posted on 2017-03-10 02:11  Eric Lee  阅读(1290)  评论(0编辑  收藏  举报

导航