January 2018
Intermediate to advanced
446 pages
12h 57m
English
You can set the format using the dynamic variable, binlog_format, which has both global and session scope. Setting it at global level makes all clients use the specified format:
mysql> SET GLOBAL binlog_format = 'STATEMENT';
Or:
mysql> SET GLOBAL binlog_format = 'ROW';
Refer to https://dev.mysql.com/doc/refman/8.0/en/replication-sbr-rbr.html to learn about the advantages and disadvantages of various formats.
mysql> SET @@GLOBAL.log_bin_use_v1_row_events=0;
Read now
Unlock full access