mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 21:12:26 +01:00
b69a31fad5
Conflicts: conflict Makefile.am conflict mysql-test/suite/rpl/r/rpl_stm_mixing_engines.result conflict mysql-test/suite/rpl/t/rpl_tmp_table_and_DDL.test conflict sql/opt_sum.cc conflict sql/set_var.cc conflict sql/sql_base.cc conflict sql/sql_priv.h conflict sql/sql_show.cc
70 lines
1.8 KiB
INI
70 lines
1.8 KiB
INI
!include include/default_mysqld.cnf
|
|
!include include/default_ndbd.cnf
|
|
!include include/default_client.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
|
|
|
|
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
|