Documentation Home
MySQL Connector/Python Developer Guide
Related Documentation Download this Manual
PDF (US Ltr) - 0.7Mb
PDF (A4) - 0.7Mb


10.4.4 PooledMySQLConnection.pool_name Property

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