But it has `reconnect` as a parameter and its default is `True`, so it
seems it automatically reconnects to the DB even when the original
connection is unusable and will be closed right after the reconnection.
Is it the intentional behavior or not?
--
Ticket URL: <https://code.djangoproject.com/ticket/33222>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* status: new => closed
* resolution: => invalid
Comment:
Django officially supports and recommends `mysqlclient` not `PyMySQL`. As
far as I'm aware `mysqlclient` doesn't
[https://github.com/PyMySQL/mysqlclient/blob/204fb123683454cdb670e0065f09e50d425b94c8/MySQLdb/_mysql.c#L1806-L1809
reconnect by default].
--
Ticket URL: <https://code.djangoproject.com/ticket/33222#comment:1>
Comment (by Yuta Okamoto):
Ok, thanks for correcting my misunderstanding!
--
Ticket URL: <https://code.djangoproject.com/ticket/33222#comment:2>