I have a connection pool that I create using mysql-connector-python:
dbconfig = {
"database": db,
"user": "user"
}
cnxpool = mysql.connector.pooling.MySQLConnectionPool(pool_name = appname,
pool_size = 5,
**dbconfig)
In the mysql-connector API, there doesn't appear to be a method for ending a connection pool. Is there a way to end a connection pool?