'Mysqlx python connector
How to use reconnect or retry mechanism in flask with mysqlx python connector.
I am used mysqlx.get_client() And get session from mysqlx.get_client().get_session()
But anyhow flask application is not connected to db or db is down for any reason, how I implement the retry mechanism in my code without restarting flask application.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
