Skip to content

utf8mb4 support? #127

Closed
Closed
@cccc1999

Description

@cccc1999

ran into this

 File "/nail/home/cheng/replication_handler/virtualenv_run/local/lib/python2.7/site-packages/pymysqlreplication/row_event.py", line 372, in __getattr__
    self._fetch_rows()
  File "/nail/home/cheng/replication_handler/virtualenv_run/local/lib/python2.7/site-packages/pymysqlreplication/row_event.py", line 367, in _fetch_rows
    self.__rows.append(self._fetch_one_row())
  File "/nail/home/cheng/replication_handler/virtualenv_run/local/lib/python2.7/site-packages/pymysqlreplication/row_event.py", line 462, in _fetch_one_row
    row["after_values"] = self._read_column_data(null_bitmap)
  File "/nail/home/cheng/replication_handler/virtualenv_run/local/lib/python2.7/site-packages/pymysqlreplication/row_event.py", line 98, in _read_column_data
    values[name] = self.__read_string(2, column)
  File "/nail/home/cheng/replication_handler/virtualenv_run/local/lib/python2.7/site-packages/pymysqlreplication/row_event.py", line 176, in __read_string
    string = string.decode(column.character_set_name)
LookupError: unknown encoding: utf8mb4

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