Documentation Home
MySQL 9.0 Reference Manual
Related Documentation Download this Manual
PDF (US Ltr) - 40.0Mb
PDF (A4) - 40.1Mb
Man Pages (TGZ) - 259.0Kb
Man Pages (Zip) - 366.2Kb
Info (Gzip) - 4.0Mb
Info (Zip) - 4.0Mb


MySQL 9.0 Reference Manual  / ...  / MySQL Server Administration  / MySQL Server Logs  / The Binary Log  /  Logging Format for Changes to mysql Database Tables

7.4.4.4 Logging Format for Changes to mysql Database Tables

The contents of the grant tables in themysql database can be modified directly (for example, withINSERT orDELETE) or indirectly (for example, withGRANT orCREATE USER). Statements that affectmysql database tables are written to the binary log using the following rules:

CREATE TABLE ... SELECT is a combination of data definition and data manipulation. TheCREATE TABLE part is logged using statement format and theSELECT part is logged according to the value ofbinlog_format.