~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

  • Committer: brian
  • Date: 2008-06-25 05:29:13 UTC
  • Revision ID: brian@localhost.localdomain-20080625052913-6upwo0jsrl4lnapl
clean slate

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;
 
7
grant replication slave on *.* to replssl@localhost require ssl;
 
8
create table t1 (t int auto_increment, KEY(t));
 
9
stop slave;
 
10
change master to
 
11
master_user='replssl',
 
12
master_password='',
 
13
master_ssl=1,
 
14
master_ssl_ca ='MYSQL_TEST_DIR/std_data/cacert.pem',
 
15
master_ssl_cert='MYSQL_TEST_DIR/std_data/client-cert.pem',
 
16
master_ssl_key='MYSQL_TEST_DIR/std_data/client-key.pem';
 
17
start slave;
 
18
insert into t1 values(1);
 
19
select * from t1;
 
20
t
 
21
1
 
22
show slave status;
 
23
Slave_IO_State  #
 
24
Master_Host     127.0.0.1
 
25
Master_User     replssl
 
26
Master_Port     MASTER_MYPORT
 
27
Connect_Retry   1
 
28
Master_Log_File master-bin.000001
 
29
Read_Master_Log_Pos     #
 
30
Relay_Log_File  #
 
31
Relay_Log_Pos   #
 
32
Relay_Master_Log_File   master-bin.000001
 
33
Slave_IO_Running        Yes
 
34
Slave_SQL_Running       Yes
 
35
Replicate_Do_DB 
 
36
Replicate_Ignore_DB     
 
37
Replicate_Do_Table      
 
38
Replicate_Ignore_Table  
 
39
Replicate_Wild_Do_Table 
 
40
Replicate_Wild_Ignore_Table     
 
41
Last_Errno      0
 
42
Last_Error      
 
43
Skip_Counter    0
 
44
Exec_Master_Log_Pos     #
 
45
Relay_Log_Space #
 
46
Until_Condition None
 
47
Until_Log_File  
 
48
Until_Log_Pos   0
 
49
Master_SSL_Allowed      Yes
 
50
Master_SSL_CA_File      MYSQL_TEST_DIR/std_data/cacert.pem
 
51
Master_SSL_CA_Path      
 
52
Master_SSL_Cert MYSQL_TEST_DIR/std_data/client-cert.pem
 
53
Master_SSL_Cipher       
 
54
Master_SSL_Key  MYSQL_TEST_DIR/std_data/client-key.pem
 
55
Seconds_Behind_Master   #
 
56
Master_SSL_Verify_Server_Cert   No
 
57
Last_IO_Errno   #
 
58
Last_IO_Error   #
 
59
Last_SQL_Errno  0
 
60
Last_SQL_Error  
 
61
STOP SLAVE;
 
62
select * from t1;
 
63
t
 
64
1
 
65
insert into t1 values (NULL);
 
66
show slave status;
 
67
Slave_IO_State  #
 
68
Master_Host     127.0.0.1
 
69
Master_User     replssl
 
70
Master_Port     MASTER_MYPORT
 
71
Connect_Retry   1
 
72
Master_Log_File master-bin.000001
 
73
Read_Master_Log_Pos     #
 
74
Relay_Log_File  #
 
75
Relay_Log_Pos   #
 
76
Relay_Master_Log_File   master-bin.000001
 
77
Slave_IO_Running        Yes
 
78
Slave_SQL_Running       Yes
 
79
Replicate_Do_DB 
 
80
Replicate_Ignore_DB     
 
81
Replicate_Do_Table      
 
82
Replicate_Ignore_Table  
 
83
Replicate_Wild_Do_Table 
 
84
Replicate_Wild_Ignore_Table     
 
85
Last_Errno      0
 
86
Last_Error      
 
87
Skip_Counter    0
 
88
Exec_Master_Log_Pos     #
 
89
Relay_Log_Space #
 
90
Until_Condition None
 
91
Until_Log_File  
 
92
Until_Log_Pos   0
 
93
Master_SSL_Allowed      Yes
 
94
Master_SSL_CA_File      MYSQL_TEST_DIR/std_data/cacert.pem
 
95
Master_SSL_CA_Path      
 
96
Master_SSL_Cert MYSQL_TEST_DIR/std_data/client-cert.pem
 
97
Master_SSL_Cipher       
 
98
Master_SSL_Key  MYSQL_TEST_DIR/std_data/client-key.pem
 
99
Seconds_Behind_Master   #
 
100
Master_SSL_Verify_Server_Cert   No
 
101
Last_IO_Errno   #
 
102
Last_IO_Error   #
 
103
Last_SQL_Errno  0
 
104
Last_SQL_Error  
 
105
drop user replssl@localhost;
 
106
drop table t1;
 
107
End of 5.0 tests