Oracle 5.0 Reference Manual page 363

Table of Contents

Advertisement

mysqlbinlog
examples, see the discussion later in this section and in
Recovery Using the Binary
Normally, you use
mysqlbinlog
server. It is also possible to read binary logs from a remote server by using the
[346]
remote-server
can be given to indicate how to connect to the server. These options are
[345],
password
--port
they are ignored except when you also use the
supports the following options, which can be specified on the command line or in the
mysqlbinlog
and
[mysqlbinlog]
processing option files described at
Handling".
Table 4.10.
mysqlbinlog
Format
Option File
--character-sets-
character-sets-
dir=path [344]
dir [344]
--
database [344]
database=db_name [344]
--
debug [345]
debug[=debug_options] [345]
--disable-log-
disable-log-
bin [345]
bin [345]
--force-
force-read [345]
read [345]
--help [344]
--hexdump [345]
hexdump [345]
--
host [345]
host=host_name [345]
--local-
local-load [345]
load=path [345]
--offset=# [345]
offset [345]
--
password [345]
password[=password] [345]
--
port [346]
port=port_num [346]
--
position [346]
position=# [346]
--
protocol [346]
protocol=type [346]
--read-from-
read-from-remote-
remote-
server [346]
server [346]
--result-
result-file [346]
file=name [346]
--set-
set-
charset=charset_name [346]
charset [346]
--short-
short-form [346]
form [346]
— Utility for Processing Binary Log Files
Log".
to read binary log files directly and apply them to the local MySQL
option. To read remote binary logs, the connection parameter options
[346],
--protocol
groups of an option file.
[client]
Section 4.2.3.4, "Command-Line Options that Affect Option-File
Options
Description
The directory where character sets are installed
List entries for just this database
Write a debugging log
Disable binary logging
If mysqlbinlog reads a binary log event that it does
not recognize, it prints a warning
Display help message and exit
Display a hex dump of the log in comments
Connect to the MySQL server on the given host
Prepare local temporary files for LOAD DATA
INFILE in the specified directory
Skip the first N entries in the log
The password to use when connecting to the
server
The TCP/IP port number to use for the connection
Deprecated. Use --start-position
The connection protocol to use
Read binary log from MySQL server rather than
local log file
Direct output to the given file
Add a SET NAMES charset_name statement to
the output
Display only the statements contained in the log
343
Section 7.5, "Point-in-Time (Incremental)
[346],
[346], and
--socket
--read-from-remote-server
mysqlbinlog
--read-from-
[345],
--host
--
[347];
--user
[346]
option.
also supports the options for
Introduced
5.0.16
5.0.23

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mysql 5.0

Table of Contents