9.4.4 Property PooledMySQLConnection.pool_name

Syntax:

cnx.pool_name

This property returns the name of the connection pool to which the connection belongs.

Example:

cnx = cnxpool.get_connection()
name = cnx.pool_name