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?
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?