Documentation Home
MySQL 9.1 Reference Manual
Related Documentation Download this Manual
PDF (US Ltr) - 40.4Mb
PDF (A4) - 40.5Mb
Man Pages (TGZ) - 259.5Kb
Man Pages (Zip) - 366.7Kb
Info (Gzip) - 4.1Mb
Info (Zip) - 4.1Mb


MySQL 9.1 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.