Quantcast
Channel: MySQL Forums - Connector/Python
Viewing all articles
Browse latest Browse all 384

Beginner's mistake? removeConnections doesn't release the pool connections (no replies)

$
0
0
I am using mysql.connector.pooling.MySQLConnectionPool to create a connection pool and before exiting the app, I wanted to release the connections.

So I called mysql.connector.pooling._removeConnections() to release the pool connections but unfortunately, if I check the number of connections using 'show status' on MySQL server, the number remains the same.

What should ideally be done here to release the connections?

Viewing all articles
Browse latest Browse all 384

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>