参考:https://blog.csdn.net/Yaokai_AssultMaster/article/details/80958052
官方错误原因:https://docs.sqlalchemy.org/en/13/errors.html#error-3o7r
解决办法【我的设置pool_size=0, max_overflow=-1无上限溢出,根据自己情况调整】:
self.engine = create_engine(
GlobalSecure.get_sqlalchemy_database_mysql_uri(),
pool_size=0, max_overflow=-1)