1from mysql.connector import pooling
2
3try:
4 connection_pool = pooling.MySQLConnectionPool(pool_name="pynative_pool",
5 pool_size=1,
6 pool_reset_session=True,
7 host='localhost',
8 database='python_db',
9 user='pynative',
10 password='pynative@#29')