Debian Codegraph @

mysql-test/suite/rpl/r/rpl_binlog_cache_encryption.result

raw
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 [connection slave]
7 [connection master]
8 # Part 1 - binlog_encryption = OFF
9 CREATE TABLE t1 (c1 INT PRIMARY KEY AUTO_INCREMENT, c2 TEXT);
10 # Inserting 50 transactions with save points
11 SHOW BINLOG EVENTS shall not fail on the un-encrypted binlog file
12 SHOW BINLOG EVENTS IN 'PLAIN_MASTER_FILE';
13 # Restarting the server with "--binlog_encryption=ON" and keyring
14 include/rpl_restart_server.inc [server_number=1]
15 include/assert.inc [binlog_encryption option shall be ON]
16 include/assert.inc [Binary log is encrypted using 1st master key]
17 # Part 2 - binlog_encryption = ON
18 # Inserting 50 transactions with save points
19 SHOW BINLOG EVENTS shall not fail on the encrypted binlog file
20 SHOW BINLOG EVENTS IN 'ENCRYPTED_MASTER_FILE';
21 # Restarting the server without "--binlog_encryption=ON"
22 include/rpl_restart_server.inc [server_number=1]
23 [connection slave]
24 include/start_slave.inc
25 [connection master]
26 include/sync_slave_sql_with_master.inc
27 include/diff_tables.inc [master:t1, slave:t1]
28 [connection master]
29 UNINSTALL PLUGIN keyring_file;
30 DROP TABLE t1;
31 include/rpl_end.inc