Difference between revisions of "MariaDB Binary Log Formats"

From wikieduonline
Jump to navigation Jump to search
 
(16 intermediate revisions by the same user not shown)
Line 1: Line 1:
* https://mariadb.com/kb/en/binary-log-formats/
+
https://mariadb.com/kb/en/binary-log-formats/
  
* Statement-Based Logging: <code>[[STATEMENT]]</code>
+
* Mixed Logging: <code>[[MIXED]]</code>(default)
* Row-Based Logging: <code>[[ROW]]</code>
+
* Statement-Based Logging: <code>[[STATEMENT]]</code> (Default until [[MariaDB 10.2.3]], [https://mariadb.org/download/?t=mariadb&o=true&p=mariadb&r=10.2.3 2016])
* Mixed Logging
+
* Row-Based Logging: <code>[[ROW]]</code> <code>[[SET GLOBAL binlog_format]]='ROW';</code> or [[binlog_format=ROW]] in config file
  
 +
Configuration:
 +
* <code>[[/etc/mysql/mariadb.conf.d/50-server.cnf]]</code>
  
  
{{MariaDB}}
+
 
 +
== Related ==
 +
* [[MariaDB binary log]]
 +
* <code>[[binlog_format]]</code>
 +
* mysql -e "SHOW VARIABLES;" | grep [[binlog_format]]
 +
* <code>(Warning) Unsafe statement written to the binary log using statement format since BINLOG FORMAT = STATEMENT</code>
 +
* [[mariadb --version]]
 +
 
 +
== See also ==
 +
* {{MariaDB}}
 +
 
 +
[[Category:MariaDB]]

Latest revision as of 09:36, 18 December 2024

Advertising: