~ubuntu-branches/ubuntu/precise/mysql-5.1/precise

« back to all changes in this revision

Viewing changes to mysql-test/suite/rpl/rpl_1slave_base.cnf

  • Committer: Bazaar Package Importer
  • Author(s): Norbert Tretkowski
  • Date: 2010-03-17 14:56:02 UTC
  • Revision ID: james.westby@ubuntu.com-20100317145602-x7e30l1b2sb5s6w6
Tags: upstream-5.1.45
ImportĀ upstreamĀ versionĀ 5.1.45

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Use default setting for mysqld processes
 
2
!include include/default_mysqld.cnf
 
3
 
 
4
[mysqld.1]
 
5
 
 
6
# Run the master.sh script before starting this process
 
7
#!run-master-sh
 
8
 
 
9
log-bin=                 master-bin
 
10
 
 
11
loose-innodb
 
12
 
 
13
[mysqld.2]
 
14
# Run the slave.sh script before starting this process
 
15
#!run-slave-sh
 
16
 
 
17
# Append <testname>-slave.opt file to the list of argument used when
 
18
# starting the mysqld
 
19
#!use-slave-opt
 
20
 
 
21
log-bin=                    slave-bin
 
22
relay-log=                  slave-relay-bin
 
23
 
 
24
init-rpl-role=              slave
 
25
log-slave-updates
 
26
master-retry-count=         10
 
27
 
 
28
# Values reported by slave when it connect to master
 
29
# and shows up in SHOW SLAVE STATUS;
 
30
report-host=                127.0.0.1
 
31
report-port=                @mysqld.2.port
 
32
report-user=                root
 
33
 
 
34
skip-slave-start
 
35
 
 
36
# Directory where slaves find the dumps generated by "load data"
 
37
# on the server. The path need to have constant length otherwise
 
38
# test results will vary, thus a relative path is used.
 
39
slave-load-tmpdir=          ../../tmp
 
40
 
 
41
loose-innodb
 
42
 
 
43
 
 
44
[ENV]
 
45
MASTER_MYPORT=              @mysqld.1.port
 
46
MASTER_MYSOCK=              @mysqld.1.socket
 
47
 
 
48
SLAVE_MYPORT=               @mysqld.2.port
 
49
SLAVE_MYSOCK=               @mysqld.2.socket
 
50