#30088: host = 127.0.0.1 does not force TCP for MySQL driver
-------------------------------------+-------------------------------------
Reporter: rvernica | Owner: nobody
Type: Bug | Status: closed
Component: Database layer | Version: 2.1
(models, ORM) |
Severity: Normal | Resolution: invalid
Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Adam (Chainz) Johnson):
* status: new => closed
* resolution: => invalid
Comment:
Hi,
Django is not doing anything in particular here. The underlying library
used is `mysqlclient`, and that itself uses the MySQL C bindings, which
has some default behaviour around checking configuration files. I think it
differs slightly from the MySQL command line and the `my.cfg` file may not
be checked.
If you still consider this a problem, try checking for similar issues in
mysqlclient or reporting it there: https://github.com/PyMySQL/mysqlclient-
python . But they are quite conservative as a project, so I'd say it's
unlikely anything will be done.
Thanks,
Adam
--
Ticket URL: <https://code.djangoproject.com/ticket/30088#comment:4>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/066.0ae04045addee637556f5c05d3863969%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.