How can I properly close MySQL connection pool sockets during shutdown?
I'm using mysql.connector.pooling.MySQLConnectionPool, and calling close() on connections seems to return them to the pool rather than actually closing their sockets. When the application exits, the corresponding sessions…