File: my.cnf

package info (click to toggle)
mysql-5.1 5.1.73-1%2Bdeb6u1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze-lts
  • size: 197,132 kB
  • ctags: 93,377
  • sloc: cpp: 579,952; ansic: 429,462; perl: 49,053; sh: 21,692; pascal: 21,272; yacc: 12,801; makefile: 4,545; xml: 4,114; sql: 3,297; lex: 1,265; asm: 1,023
file content (79 lines) | stat: -rw-r--r-- 2,208 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
!include include/default_mysqld.cnf
!include include/default_ndbd.cnf

[cluster_config.1]
NoOfReplicas=                  2
ndbd=,
ndb_mgmd=
mysqld=,

[cluster_config.slave]
NoOfReplicas=                  1
ndbd=
ndb_mgmd=
mysqld=

[mysqld]
# Make all mysqlds use cluster
ndbcluster
# Turn on bin logging
log-bin=                       master-bin
# Cluster only supports row format
binlog-format=                 row

[mysqld.1.1]

[mysqld.1.1]

[mysqld.1.slave]

# Append <testname>-slave.opt file to the list of argument used when
# starting the mysqld
#!use-slave-opt

# Connect mysqld in the second cluster as save to  first mysqld
# Hardcode the host to 127.0.0.1 until running on more
# than one host and it probably need to be masked anyway
# master-host=                @mysqld.1.#host
master-host=                  127.0.0.1
master-port=                  @mysqld.1.1.port
master-password=              @mysqld.1.1.#password
master-user=                  @mysqld.1.1.#user
master-connect-retry=         1

log-bin=                      slave-bin
relay-log=                    slave-relay-bin
# Cluster only supports row format
binlog-format=                 row

init-rpl-role=                slave
log-slave-updates
master-retry-count=           10

# Values reported by slave when it connect to master
# and shows up in SHOW SLAVE STATUS;
report-host=                  127.0.0.1
report-port=                  @mysqld.1.slave.port
report-user=                  root

loose-skip-innodb
skip-slave-start

# Directory where slaves find the dumps generated by "load data"
# on the server. The path need to have constant length otherwise
# test results will vary, thus a relative path is used.
slave-load-tmpdir=            ../../../tmp

rpl-recovery-rank=            @mysqld.1.slave.server-id


[ENV]
NDB_CONNECTSTRING=            @mysql_cluster.1.ndb_connectstring
MASTER_MYPORT=                @mysqld.1.1.port
MASTER_MYPORT1=               @mysqld.2.1.port

NDB_CONNECTSTRING_SLAVE=      @mysql_cluster.slave.ndb_connectstring
SLAVE_MYPORT=                 @mysqld.1.slave.port
SLAVE_MYSOCK=                 @mysqld.1.slave.socket

NDB_BACKUP_DIR=               @cluster_config.ndbd.1.1.BackupDataDir