如何使 Django 与 MySQL Connector/Python 一起工作?

发布于 2024-09-01 12:37:35 字数 274 浏览 8 评论 0原文

有人让 Django 与 myconnpy 一起工作吗?

我已经查看了 http://github.com/rtyler/connector-django-mysql但是 作者说它非常过时并且不受支持。

如果您成功地使 Django 与 myconnpy 一起工作,请分享您的 经验。

谢谢。

Has anyone made Django work with myconnpy?

I've checked out http://github.com/rtyler/connector-django-mysql but
the author said it's very outdated and not supported.

If you've managed to make Django work with myconnpy, please share your
experience.

Thanks.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

生生漫 2024-09-08 12:37:35

我需要类似的东西,所以我分叉了您链接到的项目并将其更新为与 Django 1.2 的较新数据库后端 API 一起使用(对于较小的值)。

应该注意的是,我的用例非常简单(对单个数据库上的单个表的读取访问),并且我还没有使用更多的东西对其进行测试。

您可以在 http://github.com/jerith/connector-django-mysql

I needed something similar, so I forked the project you linked to and updated it to work (for small values of) with Django 1.2's newer database backend API.

It should be noted that my use case is very simple (read access to a single table on a single database) and I have not tested it with anything more than that.

You can find it at http://github.com/jerith/connector-django-mysql

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文