Debian Codegraph @

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

raw
1 # ----------------------------------------------------------------------
2 # Setup
3 include/master-slave.inc
4 Warnings:
5 Note #### Sending passwords in plain text without SSL/TLS is extremely insecure.
6 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.
7 [connection master]
8 # Creating local configuration file for keyring component: component_keyring_file
9 # Creating manifest file for current MySQL server instance
10 [connection slave]
11 # Creating local configuration file for keyring component: component_keyring_file
12 # Creating manifest file for current MySQL server instance
13 [connection master]
14 # ----------------------------------------------------------------------
15 [connection slave]
16 [connection master]
17 # Part 1 - binlog_encryption = OFF
18 CREATE TABLE t1 (c1 INT PRIMARY KEY AUTO_INCREMENT, c2 TEXT);
19 # Inserting 50 transactions with save points
20 SHOW BINLOG EVENTS shall not fail on the un-encrypted binlog file
21 SHOW BINLOG EVENTS IN 'PLAIN_MASTER_FILE';
22 # Restarting the server with "--binlog_encryption=ON" and keyring
23 include/rpl_restart_server.inc [server_number=1]
24 include/assert.inc [binlog_encryption option shall be ON]
25 include/assert.inc [Binary log is encrypted using 1st master key]
26 # Part 2 - binlog_encryption = ON
27 # Inserting 50 transactions with save points
28 SHOW BINLOG EVENTS shall not fail on the encrypted binlog file
29 SHOW BINLOG EVENTS IN 'ENCRYPTED_MASTER_FILE';
30 # Restarting the server without "--binlog_encryption=ON"
31 include/rpl_restart_server.inc [server_number=1]
32 [connection slave]
33 include/start_slave.inc
34 [connection master]
35 include/sync_slave_sql_with_master.inc
36 include/diff_tables.inc [master:t1, slave:t1]
37 [connection master]
38 DROP TABLE t1;
39 # ----------------------------------------------------------------------
40 # Teardown
41 # Removing manifest file for current MySQL server instance
42 # Removing manifest file for current MySQL server instance
43 # Removing local keyring file for keyring component: component_keyring_file
44 # Removing local keyring file for keyring component: component_keyring_file
45 # Removing local configuration file for keyring component: component_keyring_file
46 # Removing local configuration file for keyring component: component_keyring_file
47 include/rpl_end.inc
48 # Restarting server without the manifest file
49 # ----------------------------------------------------------------------