Debian Codegraph @

mysql-test/suite/rpl/r/rpl_ssl1.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 SET SQL_LOG_BIN= 0;
7 create user replssl@localhost require ssl;
8 grant replication slave on *.* to replssl@localhost;
9 SET SQL_LOG_BIN= 1;
10 create table t1 (t int);
11 include/sync_slave_sql_with_master.inc
12 stop slave;
13 Warnings:
14 Warning 1287 'STOP SLAVE' is deprecated and will be removed in a future release. Please use STOP REPLICA instead
15 include/wait_for_slave_to_stop.inc
16 CHANGE REPLICATION SOURCE to SOURCE_USER='replssl',SOURCE_PASSWORD='';
17 Warnings:
18 Note #### Sending passwords in plain text without SSL/TLS is extremely insecure.
19 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.
20 start slave;
21 Warnings:
22 Warning 1287 'START SLAVE' is deprecated and will be removed in a future release. Please use START REPLICA instead
23 include/wait_for_slave_io_error.inc [errno=1045]
24 include/stop_slave_sql.inc
25 CHANGE REPLICATION SOURCE to SOURCE_SSL=1 , SOURCE_SSL_CA ='MYSQL_TEST_DIR/std_data/cacert.pem', SOURCE_SSL_CERT='MYSQL_TEST_DIR/std_data/client-cert.pem', SOURCE_SSL_KEY='MYSQL_TEST_DIR/std_data/client-key.pem', SOURCE_TLS_VERSION='TLSv1.2';
26 start slave;
27 Warnings:
28 Warning 1287 'START SLAVE' is deprecated and will be removed in a future release. Please use START REPLICA instead
29 include/wait_for_slave_to_start.inc
30 insert into t1 values (1);
31 include/sync_slave_sql_with_master.inc
32 select * from t1;
33 t
34 1
35 Master_SSL_Allowed = 'Yes'
36 Master_SSL_CA_Path = ''
37 Master_SSL_CA_File = 'MYSQL_TEST_DIR/std_data/cacert.pem'
38 Master_SSL_Cert = 'MYSQL_TEST_DIR/std_data/client-cert.pem'
39 Master_SSL_Key = 'MYSQL_TEST_DIR/std_data/client-key.pem'
40 Master_TLS_Version = 'TLSv1.2'
41 include/check_slave_is_running.inc
42 stop slave;
43 Warnings:
44 Warning 1287 'STOP SLAVE' is deprecated and will be removed in a future release. Please use STOP REPLICA instead
45 include/wait_for_slave_to_stop.inc
46 CHANGE REPLICATION SOURCE to SOURCE_USER='root',SOURCE_PASSWORD='', SOURCE_SSL=0;
47 Warnings:
48 Note #### Sending passwords in plain text without SSL/TLS is extremely insecure.
49 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.
50 start slave;
51 Warnings:
52 Warning 1287 'START SLAVE' is deprecated and will be removed in a future release. Please use START REPLICA instead
53 include/wait_for_slave_to_start.inc
54 SET SQL_LOG_BIN= 0;
55 drop user replssl@localhost;
56 SET SQL_LOG_BIN= 1;
57 drop table t1;
58 include/sync_slave_sql_with_master.inc
59 Master_SSL_Allowed = 'No'
60 Master_SSL_CA_Path = ''
61 Master_SSL_CA_File = 'MYSQL_TEST_DIR/std_data/cacert.pem'
62 Master_SSL_Cert = 'MYSQL_TEST_DIR/std_data/client-cert.pem'
63 Master_SSL_Key = 'MYSQL_TEST_DIR/std_data/client-key.pem'
64 Master_TLS_Version = 'TLSv1.2'
65 include/check_slave_is_running.inc
66 stop slave;
67 Warnings:
68 Warning 1287 'STOP SLAVE' is deprecated and will be removed in a future release. Please use STOP REPLICA instead
69 include/wait_for_slave_to_stop.inc
70 CHANGE REPLICATION SOURCE to
71 SOURCE_HOST="localhost",
72 SOURCE_SSL=1 ,
73 SOURCE_SSL_CA ='MYSQL_TEST_DIR/std_data/cacert.pem',
74 SOURCE_SSL_CERT='MYSQL_TEST_DIR/std_data/client-cert.pem',
75 SOURCE_SSL_KEY='MYSQL_TEST_DIR/std_data/client-key.pem',
76 SOURCE_SSL_VERIFY_SERVER_CERT=1;
77 start slave;
78 Warnings:
79 Warning 1287 'START SLAVE' is deprecated and will be removed in a future release. Please use START REPLICA instead
80 include/wait_for_slave_to_start.inc
81 create table t1 (t int);
82 insert into t1 values (1);
83 include/sync_slave_sql_with_master.inc
84 on slave
85 select * from t1;
86 t
87 1
88 Master_SSL_Allowed = 'Yes'
89 Master_SSL_CA_Path = ''
90 Master_SSL_CA_File = 'MYSQL_TEST_DIR/std_data/cacert.pem'
91 Master_SSL_Cert = 'MYSQL_TEST_DIR/std_data/client-cert.pem'
92 Master_SSL_Key = 'MYSQL_TEST_DIR/std_data/client-key.pem'
93 Master_TLS_Version = 'TLSv1.2'
94 include/check_slave_is_running.inc
95 drop table t1;
96 include/sync_slave_sql_with_master.inc
97 include/stop_slave.inc
98 include/assert.inc [Master_SSL_Verify_Server_Cert should NOT change on STOP SLAVE.]
99 RESET SLAVE;
100 Warnings:
101 Warning 1287 'RESET SLAVE' is deprecated and will be removed in a future release. Please use RESET REPLICA instead
102 include/assert.inc [Master_SSL_Verify_Server_Cert should NOT change on RESET SLAVE.]
103 CHANGE REPLICATION SOURCE TO SOURCE_PORT= MASTER_MYPORT;
104 include/assert.inc [Master_SSL_Verify_Server_Cert should NOT change on CHANGE MASTER.]
105 include/start_slave.inc
106 include/assert.inc [Master_SSL_Verify_Server_Cert should NOT change on START SLAVE.]
107 DROP TABLE IF EXISTS t1;
108 include/sync_slave_sql_with_master.inc
109 include/stop_slave.inc
110 CHANGE REPLICATION SOURCE TO
111 SOURCE_HOST="127.0.0.1",
112 SOURCE_SSL_CA ='',
113 SOURCE_SSL_CERT='',
114 SOURCE_SSL_KEY='',
115 SOURCE_SSL_VERIFY_SERVER_CERT=0,
116 SOURCE_SSL=0,
117 SOURCE_TLS_VERSION='';
118 include/rpl_end.inc