blob: 533290d25caedbf4b4a972a9bb410c4351ea1add (
plain)
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
|
include/master-slave.inc
[connection master]
*** Heartbeat over SSL ***
connection master;
connection slave;
include/stop_slave.inc
RESET SLAVE;
CHANGE MASTER TO
MASTER_HOST='127.0.0.1',
MASTER_PORT=MASTER_PORT,
MASTER_USER='root',
MASTER_HEARTBEAT_PERIOD=0.1,
MASTER_LOG_FILE='MASTER_BINLOG',
MASTER_SSL=1,
MASTER_SSL_CA='MYSQL_TEST_DIR/std_data/cacert.pem',
MASTER_SSL_CERT='MYSQL_TEST_DIR/std_data/client-cert.pem',
MASTER_SSL_KEY='MYSQL_TEST_DIR/std_data/client-key.pem',
MASTER_USE_GTID=NO;
include/start_slave.inc
Master_SSL_Allowed: Yes
Heartbeat event has received
*** Clean up ***
include/stop_slave.inc
CHANGE MASTER TO
MASTER_SSL=0,
MASTER_SSL_CA='',
MASTER_SSL_CERT='',
MASTER_SSL_KEY='';
include/rpl_end.inc
|