18 lines
929 B
Plaintext
18 lines
929 B
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]
|
|
call mtr.add_suppression("Unsafe statement written to the binary log using statement format since BINLOG_FORMAT = STATEMENT");
|
|
DROP DATABASE IF EXISTS `#mysql50#mysqltest-1`;
|
|
CREATE DATABASE `#mysql50#mysqltest-1`;
|
|
include/sync_slave_sql_with_master.inc
|
|
include/sync_slave_sql_with_master.inc
|
|
Master position is not changed
|
|
STOP SLAVE SQL_THREAD;
|
|
include/wait_for_slave_sql_to_stop.inc
|
|
Master position has been changed
|
|
DROP DATABASE `mysqltest-1`;
|
|
DROP DATABASE `#mysql50#mysqltest-1`;
|
|
include/rpl_end.inc
|