Oracle 5.0 Reference Manual page 364

Table of Contents

Advertisement

mysqlbinlog
Format
Option File
--
socket [346]
socket=path [346]
--start-
start-
datetime=datetime [346]
datetime [346]
--start-
start-
position=# [346]
position [346]
--stop-
stop-
datetime=datetime [347]
datetime [347]
--stop-
stop-
position=# [347]
position [347]
--to-last-
to-last-log [347]
log [347]
--
user [347]
user=user_name, [347]
--version [347]
[344],
--help
-?
Display a help message and exit.
--character-sets-dir=path
The directory where character sets are installed. See
--database=db_name
This option causes
mysqlbinlog
while
is been selected as the default database by USE.
db_name
The
[344]
--database
for mysqld, but can be used to specify only one database. If
times, only the last instance is used.
The
[344]
--database
• While
is the default database, statements are output whether they modify tables in
db_name
or a different database.
db_name
• Unless
is selected as the default database, statements are not output, even if they
db_name
modify tables in db_name.
• There is an exception for
database being created, altered, or dropped is considered to be the default database when
determining whether to output the statement.
Suppose that the binary log contains these statements:
INSERT INTO test.t1 (i) VALUES(100);
INSERT INTO db2.t2 (j)
USE test;
INSERT INTO test.t1 (i) VALUES(101);
INSERT INTO t1 (i)
INSERT INTO db2.t2 (j)
USE db2;
INSERT INTO test.t1 (i) VALUES(103);
INSERT INTO db2.t2 (j)
— Utility for Processing Binary Log Files
Description
For connections to localhost
Read binary log from first event with timestamp
equal to or later than datetime argument
Read binary log from first event with position equal
to or greater than argument
Stop reading binary log at first event with
timestamp equal to or greater than datetime
argument
Stop reading binary log at first event with position
equal to or greater than argument
Do not stop at the end of requested binary log
from a MySQL server, but rather continue printing
to end of last binary log
MySQL user name to use when connecting to
server
Display version information and exit
[344]
[344],
-d db_name
to output entries from the binary log (local log only) that occur
option for
mysqlbinlog
option works as follows:
CREATE
DATABASE,
VALUES(200);
VALUES(102);
VALUES(201);
VALUES(202);
344
Section 10.5, "Character Set
is similar to the
--binlog-do-db
--database
DATABASE, and
ALTER
Introduced
Configuration".
[1469]
option
[344]
is given multiple
DATABASE. The
DROP

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mysql 5.0

Table of Contents