Debian Codegraph @

mysql-test/suite/rpl/r/rpl_ssl.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 include/assert.inc [Master_SSL_Allowed should be NO by default]
7 include/assert.inc [Without MASTER_SSL, the slave should be connected to the master without SSL/TLS]
8 create user replssl@localhost require ssl;
9 grant replication slave on *.* to replssl@localhost;
10 create table t1 (t int auto_increment, KEY(t));
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 CHANGE REPLICATION SOURCE to
16 SOURCE_USER='replssl',
17 SOURCE_PASSWORD='',
18 SOURCE_SSL=1,
19 SOURCE_SSL_CA ='MYSQL_TEST_DIR/std_data/cacert.pem',
20 SOURCE_SSL_CERT='MYSQL_TEST_DIR/std_data/client-cert.pem',
21 SOURCE_SSL_KEY='MYSQL_TEST_DIR/std_data/client-key.pem';
22 Warnings:
23 Note #### Sending passwords in plain text without SSL/TLS is extremely insecure.
24 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.
25 start slave;
26 Warnings:
27 Warning 1287 'START SLAVE' is deprecated and will be removed in a future release. Please use START REPLICA instead
28 insert into t1 values(1);
29 include/sync_slave_sql_with_master.inc
30 select * from t1;
31 t
32 1
33 Master_SSL_Allowed = 'Yes'
34 Master_SSL_CA_Path = ''
35 Master_SSL_CA_File = 'MYSQL_TEST_DIR/std_data/cacert.pem'
36 Master_SSL_Cert = 'MYSQL_TEST_DIR/std_data/client-cert.pem'
37 Master_SSL_Key = 'MYSQL_TEST_DIR/std_data/client-key.pem'
38 include/check_slave_is_running.inc
39 STOP SLAVE;
40 Warnings:
41 Warning 1287 'STOP SLAVE' is deprecated and will be removed in a future release. Please use STOP REPLICA instead
42 select * from t1;
43 t
44 1
45 insert into t1 values (NULL);
46 include/sync_slave_sql_with_master.inc
47 include/wait_for_slave_to_start.inc
48 Master_SSL_Allowed = 'Yes'
49 Master_SSL_CA_Path = ''
50 Master_SSL_CA_File = 'MYSQL_TEST_DIR/std_data/cacert.pem'
51 Master_SSL_Cert = 'MYSQL_TEST_DIR/std_data/client-cert.pem'
52 Master_SSL_Key = 'MYSQL_TEST_DIR/std_data/client-key.pem'
53 include/check_slave_is_running.inc
54 drop user replssl@localhost;
55 drop table t1;
56 include/sync_slave_sql_with_master.inc
57 include/stop_slave.inc
58 CHANGE REPLICATION SOURCE TO
59 SOURCE_USER = 'root',
60 SOURCE_SSL = 0,
61 SOURCE_SSL_CA = '',
62 SOURCE_SSL_CERT = '',
63 SOURCE_SSL_KEY = '',
64 SOURCE_SSL_CRL='',
65 SOURCE_SSL_CRLPATH='';
66 Warnings:
67 Note #### Sending passwords in plain text without SSL/TLS is extremely insecure.
68 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.
69 CHANGE REPLICATION SOURCE TO SOURCE_SSL= 1, SOURCE_SSL_CRL='MYSQL_TEST_DIR/std_data/crl-client-revoked.crl', SOURCE_SSL_CRLPATH='MYSQL_TEST_DIR/std_data/crldir';
70 include/start_slave.inc
71 include/stop_slave.inc
72 CHANGE REPLICATION SOURCE TO
73 SOURCE_USER = 'root',
74 SOURCE_SSL = 0,
75 SOURCE_SSL_CA = '',
76 SOURCE_SSL_CERT = '',
77 SOURCE_SSL_KEY = '',
78 SOURCE_SSL_CRL='',
79 SOURCE_SSL_CRLPATH='';
80 Warnings:
81 Note #### Sending passwords in plain text without SSL/TLS is extremely insecure.
82 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.
83 End of 5.0 tests
84 include/rpl_end.inc