mysqlbinlog: remove = and add option placeholders (#22759)

* Update mysqlbinlog.md

* Update mysqlbinlog.md
This commit is contained in:
Managor
2026-06-10 09:17:13 +03:00
committed by GitHub
parent 5020bcc031
commit fa338e009c
+4 -4
View File
@@ -9,16 +9,16 @@
- Show entries from a binary log for a specific database:
`mysqlbinlog --database {{database_name}} {{path/to/binlog}}`
`mysqlbinlog {{[-d|--database]}} {{database_name}} {{path/to/binlog}}`
- Show events from a binary log between specific dates:
`mysqlbinlog --start-datetime='{{2022-01-01 01:00:00}}' --stop-datetime='{{2022-02-01 01:00:00}}' {{path/to/binlog}}`
`mysqlbinlog --start-datetime '{{2022-01-01 01:00:00}}' --stop-datetime '{{2022-02-01 01:00:00}}' {{path/to/binlog}}`
- Show events from a binary log between specific positions:
`mysqlbinlog --start-position={{100}} --stop-position={{200}} {{path/to/binlog}}`
`mysqlbinlog {{[-j|--start-position]}} {{100}} --stop-position {{200}} {{path/to/binlog}}`
- Show binary log from a MySQL server on the given host:
`mysqlbinlog --host={{hostname}} {{path/to/binlog}}`
`mysqlbinlog {{[-h|--host]}} {{hostname}} {{path/to/binlog}}`