去掉sql日志

parent f9613df5
...@@ -31,8 +31,7 @@ tamp_user_engine = create_engine( ...@@ -31,8 +31,7 @@ tamp_user_engine = create_engine(
user=config[env]['MySQL']['user'], user=config[env]['MySQL']['user'],
password=config[env]['MySQL']['password'], password=config[env]['MySQL']['password'],
charset="utf8" charset="utf8"
), )
echo=True
) )
tamp_pay_engine = create_engine( tamp_pay_engine = create_engine(
'mysql+pymysql://{user}:{password}@{host}:{port}/{db}?charset={charset}'.format( 'mysql+pymysql://{user}:{password}@{host}:{port}/{db}?charset={charset}'.format(
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment