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 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57
|
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 connection metadata repository is not secure and is therefore not recommended. Please consider using the USER and PASSWORD connection options for START REPLICA; see the 'START REPLICA Syntax' in the MySQL Manual for more information.
[connection master]
[connection slave]
include/stop_slave.inc
CHANGE REPLICATION SOURCE TO IGNORE_SERVER_IDS=(1,2,3);
Warnings:
Warning 1287 'CHANGE MASTER TO ... IGNORE_SERVER_IDS='...' (when @@GLOBAL.GTID_MODE = ON)' is deprecated and will be removed in a future release.
CHANGE REPLICATION SOURCE TO SOURCE_HOST='dummy', IGNORE_SERVER_IDS=(1) FOR CHANNEL 'ch1';
Warnings:
Warning 1287 'CHANGE MASTER TO ... IGNORE_SERVER_IDS='...' (when @@GLOBAL.GTID_MODE = ON)' is deprecated and will be removed in a future release.
CHANGE REPLICATION SOURCE TO SOURCE_AUTO_POSITION=0 FOR CHANNEL '';
SET @@global.gtid_mode=ON_PERMISSIVE;
SET @@global.gtid_mode=OFF_PERMISSIVE;
SET @@global.gtid_mode=OFF;
SET @@global.gtid_mode=OFF_PERMISSIVE;
SET @@global.gtid_mode=ON_PERMISSIVE;
CHANGE REPLICATION SOURCE TO SOURCE_AUTO_POSITION=1 FOR CHANNEL '';
SET @@global.gtid_mode=ON;
Warnings:
Warning 1287 'CHANGE MASTER TO ... IGNORE_SERVER_IDS='...' (when @@GLOBAL.GTID_MODE = ON)' is deprecated and will be removed in a future release.
SET @@global.gtid_mode=ON;
Warnings:
Warning 1287 'CHANGE MASTER TO ... IGNORE_SERVER_IDS='...' (when @@GLOBAL.GTID_MODE = ON)' is deprecated and will be removed in a future release.
CHANGE REPLICATION SOURCE TO IGNORE_SERVER_IDS=() FOR CHANNEL '';
RESET SLAVE ALL FOR CHANNEL 'ch1';
Warnings:
Warning 1287 'RESET SLAVE' is deprecated and will be removed in a future release. Please use RESET REPLICA instead
include/start_slave.inc
[connection master]
include/rpl_reset.inc
[connection master]
include/rpl_reset.inc
[connection master]
CREATE TABLE t1 (c1 INT);
DROP TABLE t1;
[connection slave]
SELECT WAIT_UNTIL_SQL_THREAD_AFTER_GTIDS("GTIDS") * 0;
WAIT_UNTIL_SQL_THREAD_AFTER_GTIDS("GTIDS") * 0
0
Warnings:
Warning 1287 'WAIT_UNTIL_SQL_THREAD_AFTER_GTIDS' is deprecated and will be removed in a future release. Please use WAIT_FOR_EXECUTED_GTID_SET instead
SELECT WAIT_UNTIL_SQL_THREAD_AFTER_GTIDS("GTIDS", 10) * 0;
WAIT_UNTIL_SQL_THREAD_AFTER_GTIDS("GTIDS", 10) * 0
0
Warnings:
Warning 1287 'WAIT_UNTIL_SQL_THREAD_AFTER_GTIDS' is deprecated and will be removed in a future release. Please use WAIT_FOR_EXECUTED_GTID_SET instead
SELECT WAIT_UNTIL_SQL_THREAD_AFTER_GTIDS("GTIDS", 10, "") * 0;
WAIT_UNTIL_SQL_THREAD_AFTER_GTIDS("GTIDS", 10, "") * 0
0
Warnings:
Warning 1287 'WAIT_UNTIL_SQL_THREAD_AFTER_GTIDS' is deprecated and will be removed in a future release. Please use WAIT_FOR_EXECUTED_GTID_SET instead
[connection master]
include/rpl_reset.inc
include/rpl_end.inc
|