You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "binlog2sql.py", line 150, in
binlog2sql.process_binlog()
File "binlog2sql.py", line 74, in process_binlog
for binlog_event in stream:
File "/usr/local/lib/python3.6/site-packages/pymysqlreplication/binlogstream.py", line 432, in fetchone
self.__fail_on_table_metadata_unavailable)
File "/usr/local/lib/python3.6/site-packages/pymysqlreplication/packet.py", line 139, in init
fail_on_table_metadata_unavailable=fail_on_table_metadata_unavailable)
File "/usr/local/lib/python3.6/site-packages/pymysqlreplication/event.py", line 175, in init
- self.schema_length - 1).decode("utf-8")
The text was updated successfully, but these errors were encountered:
在使用 -B 转为恢复sql时,也遇到了编码的问题,请问您解决了吗? Traceback (most recent call last): File "binlog2sql.py", line 150, in <module> binlog2sql.process_binlog() File "binlog2sql.py", line 121, in process_binlog self.print_rollback_sql(filename=tmp_file) File "binlog2sql.py", line 129, in print_rollback_sql for line in reversed_lines(f_tmp): File "/home/system_tool/binlog_recover/binlog2sql/binlog2sql/binlog2sql_util.py", line 249, in reversed_lines block = block.decode("utf-8") UnicodeDecodeError: 'utf-8' codec can't decode byte 0x80 in position 0: invalid start byte
Traceback (most recent call last):
File "binlog2sql.py", line 150, in
binlog2sql.process_binlog()
File "binlog2sql.py", line 74, in process_binlog
for binlog_event in stream:
File "/usr/local/lib/python3.6/site-packages/pymysqlreplication/binlogstream.py", line 432, in fetchone
self.__fail_on_table_metadata_unavailable)
File "/usr/local/lib/python3.6/site-packages/pymysqlreplication/packet.py", line 139, in init
fail_on_table_metadata_unavailable=fail_on_table_metadata_unavailable)
File "/usr/local/lib/python3.6/site-packages/pymysqlreplication/event.py", line 175, in init
- self.schema_length - 1).decode("utf-8")
The text was updated successfully, but these errors were encountered: