| 1 |
include/master-slave.inc |
| 2 |
Warnings: |
| 3 |
Note #### Sending passwords in plain text without SSL/TLS is extremely insecure. |
| 4 |
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. |
| 5 |
[connection master] |
| 6 |
CALL mtr.add_suppression("Failed to set up SSL because of the following *"); |
| 7 |
CALL mtr.add_suppression("Replica SQL for channel '': Request to stop replica SQL Thread received while *"); |
| 8 |
[on master] |
| 9 |
SET PERSIST_ONLY ssl_fips_mode=ON; |
| 10 |
Warnings: |
| 11 |
Warning 1287 '@@ssl_fips_mode' is deprecated and will be removed in a future release. |
| 12 |
[on slave] |
| 13 |
SET PERSIST_ONLY ssl_fips_mode=ON; |
| 14 |
Warnings: |
| 15 |
Warning 1287 '@@ssl_fips_mode' is deprecated and will be removed in a future release. |
| 16 |
include/stop_slave.inc |
| 17 |
include/rpl_restart_server.inc [server_number=1] |
| 18 |
include/start_slave.inc |
| 19 |
[connection master] |
| 20 |
include/save_binlog_position.inc |
| 21 |
[on master] |
| 22 |
[on slave] |
| 23 |
include/stop_slave.inc |
| 24 |
include/rpl_restart_server.inc [server_number=2] |
| 25 |
# R1: Set the ssl connection OFF |
| 26 |
CHANGE REPLICATION SOURCE TO SOURCE_USER = 'root', SOURCE_PASSWORD = '', SOURCE_SSL = 0;; |
| 27 |
Warnings: |
| 28 |
Note 1759 Sending passwords in plain text without SSL/TLS is extremely insecure. |
| 29 |
Note 1760 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. |
| 30 |
include/start_slave.inc |
| 31 |
include/check_slave_no_error.inc |
| 32 |
[on slave] |
| 33 |
include/stop_slave.inc |
| 34 |
# R2: Set the ssl connection ON and weak cipher CAMELLIA256-SHA |
| 35 |
CHANGE REPLICATION SOURCE TO SOURCE_USER = 'root', SOURCE_PASSWORD = '', SOURCE_SSL = 1, SOURCE_TLS_VERSION = 'TLSv1.2', SOURCE_SSL_CIPHER = 'CAMELLIA256-SHA', SOURCE_RETRY_COUNT = 1; |
| 36 |
Warnings: |
| 37 |
Note 1759 Sending passwords in plain text without SSL/TLS is extremely insecure. |
| 38 |
Note 1760 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. |
| 39 |
START SLAVE; |
| 40 |
Warnings: |
| 41 |
Warning 1287 'START SLAVE' is deprecated and will be removed in a future release. Please use START REPLICA instead |
| 42 |
include/wait_for_slave_io_error.inc [errno=2026] |
| 43 |
select SERVICE_STATE, LAST_ERROR_NUMBER from performance_schema.replication_connection_status; |
| 44 |
SERVICE_STATE LAST_ERROR_NUMBER |
| 45 |
OFF 2026 |
| 46 |
# R3: Set the ssl connection ON and strong cipher |
| 47 |
include/stop_slave.inc |
| 48 |
CHANGE REPLICATION SOURCE TO SOURCE_USER = 'root', SOURCE_PASSWORD = '', SOURCE_SSL = 1, SOURCE_TLS_VERSION = 'TLSv1.2', SOURCE_SSL_CIPHER = 'ECDHE-RSA-AES128-GCM-SHA256'; |
| 49 |
Warnings: |
| 50 |
Note 1759 Sending passwords in plain text without SSL/TLS is extremely insecure. |
| 51 |
Note 1760 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. |
| 52 |
include/start_slave.inc |
| 53 |
include/check_slave_no_error.inc |
| 54 |
include/stop_slave.inc |
| 55 |
==== Cleanup (Note that slave IO thread is not running) ==== |
| 56 |
CHANGE REPLICATION SOURCE TO SOURCE_USER = 'root', SOURCE_PASSWORD = '', SOURCE_SSL=0; |
| 57 |
Warnings: |
| 58 |
Note #### Sending passwords in plain text without SSL/TLS is extremely insecure. |
| 59 |
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. |
| 60 |
include/rpl_reset.inc |
| 61 |
[on master] |
| 62 |
RESET PERSIST ssl_fips_mode; |
| 63 |
[on slave] |
| 64 |
RESET PERSIST ssl_fips_mode; |
| 65 |
[on master] |
| 66 |
include/rpl_end.inc |