Skip to content

如何解决解码错误的问题? #109

Description

@popeyesheng

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")

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions