Skip to content

[Typo]: Python 连接MO服务 使用 sqlalchemy 连接 MatrixOne 执行报错 #200

Open
@LiSong0214

Description

@LiSong0214

Is there an existing issue about this typo?

  • I have checked the existing issues.

Describe the issue

image

执行报错,找不到 MySQLdb,经过查看资料,MySQLdb 不支持 python3,所以需要前置加上它的替换(https://stackoverflow.com/questions/39574813/error-loading-mysqldb-module-no-module-named-mysqldb)

import pymysql
pymysql.install_as_MySQLdb()

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions