MySQL Forums
Forum List  »  Connector/Python

mysql.connector.django is leaking connection
Posted by: Zemian Deng
Date: July 04, 2014 09:41PM

Hi,

I am using latest python-connector 1.2.2. I see a connection been created inside DatabaseWrapper.__init__ from mysql/connector/django/base.py file (line 465). I don't see how this connection is clean up and close?

By watching the MySQL processlist, I see that any django app that accesses the DB will start leaking connections. Is this a known issue?

Thanks,
Zemian

Options: ReplyQuote


Subject
Written By
Posted
mysql.connector.django is leaking connection
July 04, 2014 09:41PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.