mysql> set global binlog_format=ROW; mysql> set global binlog_row_image=FULL;
note: binlog_format is a session-based property. You will need to shutdown all active connections to fully convert to row-based replication.
Permissions: Maxwell needs permissions to store state in the database specified by the schema_database option (default maxwell).
1 2 3 4 5 6 7 8 9
mysql> CREATE USER 'maxwell'@'%' IDENTIFIED BY 'XXXXXX'; mysql> GRANT ALL ON maxwell.* TO 'maxwell'@'%'; mysql> GRANT SELECT, REPLICATION CLIENT, REPLICATION SLAVE ON *.* TO 'maxwell'@'%';
# or for running maxwell locally:
mysql> CREATE USER 'maxwell'@'localhost' IDENTIFIED BY 'XXXXXX'; mysql> GRANT ALL ON maxwell.* TO 'maxwell'@'localhost'; mysql> GRANT SELECT, REPLICATION CLIENT, REPLICATION SLAVE ON *.* TO 'maxwell'@'localhost';