~drizzle-trunk/libdrizzle/jenkins-Libdrizzle-6

« back to all changes in this revision

Viewing changes to docs/cli/drizzle_binlog.rst

  • Committer: Andrew Hutchings
  • Date: 2012-12-19 13:06:50 UTC
  • mfrom: (43.2.12 5.0)
  • Revision ID: andrew@linuxjedi.co.uk-20121219130650-kuebu0vxbeb7oyzy
Merge 5.0 docs changes into 5.1

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