1
.. program:: drizzle_binlog
9
Drizzle binlog is an example tool which will connect to a MySQL server as a
10
slave, retrieve the binary log data and store it as local copies of the binary
11
log files. It has a continuous mode which will continue to download new events
17
:program:`drizzle_binlog` :option:`--start-file=binlog_file <--start-file>` OPTIONS
25
.. option:: --host <hostname>
27
The hostname for the MySQL server (default 'localhost')
29
.. option:: --port <port>
31
The port number for the MySQL server (default 3306)
33
.. option:: --user <user>
35
The MySQL user to connect as (default is the system user drizzle_binlog is executed as)
37
.. option:: --pass <pass>
39
The MySQL password to connect using
41
.. option:: --outdir <outdir>
43
The output directory to store the binlogs
48
.. option:: --start-file <file>
50
Which binlog file should be requested first
52
.. option:: --start-pos <pos>
54
Position in the binlog file to start at
56
.. option:: --continuous
58
Connect as a random slave ID of 32768-65535 so drizzle_binlogs isn't
59
disconnected at the end of the last log