Opened 6 years ago

Closed 6 years ago

#29572 closed Bug (duplicate)

Cancel the dependency on MySQLdb

Reported by: BobDu Owned by: nobody
Component: Database layer (models, ORM) Version: 2.0
Severity: Release blocker Keywords: mysql
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Python 3 does not support the use of the MySQLdb package, but still uses MySQLdb in Django, I think it should be replaced by pymysql by default.

Attachments (1)

base.py (13.8 KB ) - added by BobDu 6 years ago.
This is the repair file ./django/django/db/backends/mysql/base.py

Download all attachments as: .zip

Change History (2)

by BobDu, 6 years ago

Attachment: base.py added

This is the repair file ./django/django/db/backends/mysql/base.py

comment:1 by Claude Paroz, 6 years ago

Resolution: duplicate
Status: newclosed

Django recommends installing mysqlclient which is Python 3 compatible.

See also #29242 for PyMySQL support.

Note: See TracTickets for help on using tickets.
Back to Top