~linuxjedi/libdrizzle/5.1-docs2

« back to all changes in this revision

Viewing changes to docs/cli/drizzle_binlog.rst

  • Committer: Continuous Integration
  • Date: 2013-01-18 13:37:45 UTC
  • mfrom: (95.1.1 5.1-remove-tools)
  • Revision ID: ci@drizzle.org-20130118133745-851ar5miku9pygm4
Merge lp:~linuxjedi/libdrizzle/5.1-remove-tools Build: jenkins-Libdrizzle-51

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
.. program:: drizzle_binlog
2
 
 
3
 
Drizzle Binlog
4
 
==============
5
 
 
6
 
Introduction
7
 
------------
8
 
 
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
12
 
as they are applied.
13
 
 
14
 
Usage
15
 
-----
16
 
 
17
 
:program:`drizzle_binlog` :option:`--start-file=binlog_file <--start-file>` OPTIONS
18
 
 
19
 
Options
20
 
-------
21
 
 
22
 
Main Options
23
 
^^^^^^^^^^^^
24
 
 
25
 
.. option:: --host <hostname>
26
 
 
27
 
   The hostname for the MySQL server (default 'localhost')
28
 
 
29
 
.. option:: --port <port>
30
 
 
31
 
   The port number for the MySQL server (default 3306)
32
 
 
33
 
.. option:: --user <user>
34
 
 
35
 
   The MySQL user to connect as (default is the system user drizzle_binlog is executed as)
36
 
 
37
 
.. option:: --pass <pass>
38
 
 
39
 
   The MySQL password to connect using
40
 
 
41
 
.. option:: --outdir <outdir>
42
 
 
43
 
   The output directory to store the binlogs
44
 
 
45
 
Binlog Options
46
 
^^^^^^^^^^^^^^
47
 
 
48
 
.. option:: --start-file <file>
49
 
 
50
 
   Which binlog file should be requested first
51
 
 
52
 
.. option:: --start-pos <pos>
53
 
 
54
 
   Position in the binlog file to start at
55
 
 
56
 
.. option:: --continuous
57
 
 
58
 
   Connect as a random slave ID of 32768-65535 so drizzle_binlogs isn't
59
 
   disconnected at the end of the last log