Category: Python 3

Python 3 0

Keep database connection on connecting to MySQL/MariaDB using SQLAlchemy

You want the database connection will be keep on connect to MySQL/MariaDB, just use pool_recycle parameter in method create_engine(). Example: create_engine(db_url, pool_recycle=1) pool_recycle this setting causes...

Python 3 0

During handling of the above exception, another exception occurred

Old code: New code:

%d bloggers like this: