36 lines
1.6 KiB
Plaintext
36 lines
1.6 KiB
Plaintext
include/master-slave.inc
|
|
Warnings:
|
|
Note #### Sending passwords in plain text without SSL/TLS is extremely insecure.
|
|
Note #### Storing MySQL user name or password information in the master info repository is not secure and is therefore not recommended. Please consider using the USER and PASSWORD connection options for START SLAVE; see the 'START SLAVE Syntax' in the MySQL Manual for more information.
|
|
[connection master]
|
|
|
|
*** Heartbeat over SSL ***
|
|
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';
|
|
Warnings:
|
|
Warning #### CHANGE MASTER TO with a MASTER_LOG_FILE clause but no MASTER_LOG_POS clause may not be safe. The old position value may not be valid for the new binary log file.
|
|
Note #### Sending passwords in plain text without SSL/TLS is extremely insecure.
|
|
Note #### Storing MySQL user name or password information in the master info repository is not secure and is therefore not recommended. Please consider using the USER and PASSWORD connection options for START SLAVE; see the 'START SLAVE Syntax' in the MySQL Manual for more information.
|
|
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
|