3 # Create the default connections master, master1, slave, slave1.
5 # The slave connections are only created if $rpl_server_count >= 2.
9 # --let $rpl_server_count= N
10 # --source include/rpl_default_connections.inc
12 --let $include_filename= rpl_default_connections.inc
13 --source include/begin_include_file.inc
15 --let $rpl_connection_name= master
16 --let $rpl_server_number= 1
17 --source include/rpl_connect.inc
19 --let $rpl_connection_name= master1
20 --let $rpl_server_number= 1
21 --source include/rpl_connect.inc
23 if ($rpl_server_count >= 2)
25 --let $rpl_connection_name= slave
26 --let $rpl_server_number= 2
27 --source include/rpl_connect.inc
29 --let $rpl_connection_name= slave1
30 --let $rpl_server_number= 2
31 --source include/rpl_connect.inc
34 --let $include_filename= rpl_default_connections.inc
35 --source include/end_include_file.inc