Open zoujd-github opened 5 years ago
Traceback (most recent call last): File "binlog2sql.py", line 149, in back_interval=args.back_interval, only_dml=args.only_dml, sql_type=args.sql_type) File "binlog2sql.py", line 47, in init with self.connection as cursor: AttributeError: exit
up.
There is no such problem in python 2.
Traceback (most recent call last): File "binlog2sql.py", line 149, in
back_interval=args.back_interval, only_dml=args.only_dml, sql_type=args.sql_type)
File "binlog2sql.py", line 47, in init
with self.connection as cursor:
AttributeError: exit