~ubuntu-branches/ubuntu/maverick/mysql-5.1/maverick-proposed

« back to all changes in this revision

Viewing changes to mysql-test/suite/rpl/r/rpl_ssl1.result

  • Committer: Package Import Robot
  • Author(s): Marc Deslauriers
  • Date: 2012-02-22 14:16:05 UTC
  • mto: This revision was merged to the branch mainline in revision 20.
  • Revision ID: package-import@ubuntu.com-20120222141605-nxlu9yzc6attylc2
Tags: upstream-5.1.61
ImportĀ upstreamĀ versionĀ 5.1.61

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
stop slave;
2
 
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
3
 
reset master;
4
 
reset slave;
5
 
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
6
 
start slave;
 
1
include/master-slave.inc
 
2
[connection master]
7
3
grant replication slave on *.* to replssl@localhost require ssl;
8
4
create table t1 (t int);
9
5
stop slave;
18
14
select * from t1;
19
15
t
20
16
1
21
 
Master_SSL_Allowed      Yes
22
 
Master_SSL_CA_Path      
23
 
Master_SSL_CA_File      MYSQL_TEST_DIR/std_data/cacert.pem
24
 
Master_SSL_Cert MYSQL_TEST_DIR/std_data/client-cert.pem
25
 
Master_SSL_Key  MYSQL_TEST_DIR/std_data/client-key.pem
26
 
Checking that both slave threads are running.
 
17
Master_SSL_Allowed = 'Yes'
 
18
Master_SSL_CA_Path = ''
 
19
Master_SSL_CA_File = 'MYSQL_TEST_DIR/std_data/cacert.pem'
 
20
Master_SSL_Cert = 'MYSQL_TEST_DIR/std_data/client-cert.pem'
 
21
Master_SSL_Key = 'MYSQL_TEST_DIR/std_data/client-key.pem'
 
22
include/check_slave_is_running.inc
27
23
stop slave;
28
24
change master to master_user='root',master_password='', master_ssl=0;
29
25
start slave;
30
26
drop user replssl@localhost;
31
27
drop table t1;
32
 
Master_SSL_Allowed      No
33
 
Master_SSL_CA_Path      
34
 
Master_SSL_CA_File      MYSQL_TEST_DIR/std_data/cacert.pem
35
 
Master_SSL_Cert MYSQL_TEST_DIR/std_data/client-cert.pem
36
 
Master_SSL_Key  MYSQL_TEST_DIR/std_data/client-key.pem
37
 
Checking that both slave threads are running.
 
28
Master_SSL_Allowed = 'No'
 
29
Master_SSL_CA_Path = ''
 
30
Master_SSL_CA_File = 'MYSQL_TEST_DIR/std_data/cacert.pem'
 
31
Master_SSL_Cert = 'MYSQL_TEST_DIR/std_data/client-cert.pem'
 
32
Master_SSL_Key = 'MYSQL_TEST_DIR/std_data/client-key.pem'
 
33
include/check_slave_is_running.inc
38
34
stop slave;
39
35
change master to
40
36
master_host="localhost",
50
46
select * from t1;
51
47
t
52
48
1
53
 
Master_SSL_Allowed      Yes
54
 
Master_SSL_CA_Path      
55
 
Master_SSL_CA_File      MYSQL_TEST_DIR/std_data/cacert.pem
56
 
Master_SSL_Cert MYSQL_TEST_DIR/std_data/client-cert.pem
57
 
Master_SSL_Key  MYSQL_TEST_DIR/std_data/client-key.pem
58
 
Checking that both slave threads are running.
 
49
Master_SSL_Allowed = 'Yes'
 
50
Master_SSL_CA_Path = ''
 
51
Master_SSL_CA_File = 'MYSQL_TEST_DIR/std_data/cacert.pem'
 
52
Master_SSL_Cert = 'MYSQL_TEST_DIR/std_data/client-cert.pem'
 
53
Master_SSL_Key = 'MYSQL_TEST_DIR/std_data/client-key.pem'
 
54
include/check_slave_is_running.inc
59
55
drop table t1;
 
56
include/stop_slave.inc
 
57
CHANGE MASTER TO
 
58
master_host="127.0.0.1",
 
59
master_ssl_ca ='',
 
60
master_ssl_cert='',
 
61
master_ssl_key='',
 
62
master_ssl_verify_server_cert=0,
 
63
master_ssl=0;
 
64
include/rpl_end.inc