~stewart/drizzle/embedded-innodb-create-select-transaction-arrgh

« back to all changes in this revision

Viewing changes to mysql-test/suite/rpl/r/rpl_ssl1.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);
 
9
stop slave;
 
10
change master to master_user='replssl',master_password='';
 
11
start slave;
 
12
insert into t1 values (1);
 
13
select * from t1;
 
14
t
 
15
stop slave;
 
16
change master to master_ssl=1 , master_ssl_ca ='MYSQL_TEST_DIR/std_data/cacert.pem', master_ssl_cert='MYSQL_TEST_DIR/std_data/client-cert.pem', master_ssl_key='MYSQL_TEST_DIR/std_data/client-key.pem';
 
17
start slave;
 
18
select * from t1;
 
19
t
 
20
1
 
21
show slave status;
 
22
Slave_IO_State  #
 
23
Master_Host     127.0.0.1
 
24
Master_User     replssl
 
25
Master_Port     MASTER_MYPORT
 
26
Connect_Retry   1
 
27
Master_Log_File #
 
28
Read_Master_Log_Pos     #
 
29
Relay_Log_File  #
 
30
Relay_Log_Pos   #
 
31
Relay_Master_Log_File   #
 
32
Slave_IO_Running        #
 
33
Slave_SQL_Running       Yes
 
34
Replicate_Do_DB 
 
35
Replicate_Ignore_DB     
 
36
Replicate_Do_Table      
 
37
Replicate_Ignore_Table  #
 
38
Replicate_Wild_Do_Table 
 
39
Replicate_Wild_Ignore_Table     
 
40
Last_Errno      0
 
41
Last_Error      
 
42
Skip_Counter    0
 
43
Exec_Master_Log_Pos     #
 
44
Relay_Log_Space #
 
45
Until_Condition None
 
46
Until_Log_File  
 
47
Until_Log_Pos   0
 
48
Master_SSL_Allowed      Yes
 
49
Master_SSL_CA_File      MYSQL_TEST_DIR/std_data/cacert.pem
 
50
Master_SSL_CA_Path      
 
51
Master_SSL_Cert MYSQL_TEST_DIR/std_data/client-cert.pem
 
52
Master_SSL_Cipher       
 
53
Master_SSL_Key  MYSQL_TEST_DIR/std_data/client-key.pem
 
54
Seconds_Behind_Master   #
 
55
Master_SSL_Verify_Server_Cert   No
 
56
Last_IO_Errno   #
 
57
Last_IO_Error   #
 
58
Last_SQL_Errno  0
 
59
Last_SQL_Error  
 
60
stop slave;
 
61
change master to master_user='root',master_password='', master_ssl=0;
 
62
start slave;
 
63
drop user replssl@localhost;
 
64
drop table t1;
 
65
show slave status;
 
66
Slave_IO_State  #
 
67
Master_Host     127.0.0.1
 
68
Master_User     root
 
69
Master_Port     MASTER_MYPORT
 
70
Connect_Retry   1
 
71
Master_Log_File #
 
72
Read_Master_Log_Pos     #
 
73
Relay_Log_File  #
 
74
Relay_Log_Pos   #
 
75
Relay_Master_Log_File   #
 
76
Slave_IO_Running        #
 
77
Slave_SQL_Running       Yes
 
78
Replicate_Do_DB 
 
79
Replicate_Ignore_DB     
 
80
Replicate_Do_Table      
 
81
Replicate_Ignore_Table  #
 
82
Replicate_Wild_Do_Table 
 
83
Replicate_Wild_Ignore_Table     
 
84
Last_Errno      0
 
85
Last_Error      
 
86
Skip_Counter    0
 
87
Exec_Master_Log_Pos     #
 
88
Relay_Log_Space #
 
89
Until_Condition None
 
90
Until_Log_File  
 
91
Until_Log_Pos   0
 
92
Master_SSL_Allowed      No
 
93
Master_SSL_CA_File      MYSQL_TEST_DIR/std_data/cacert.pem
 
94
Master_SSL_CA_Path      
 
95
Master_SSL_Cert MYSQL_TEST_DIR/std_data/client-cert.pem
 
96
Master_SSL_Cipher       
 
97
Master_SSL_Key  MYSQL_TEST_DIR/std_data/client-key.pem
 
98
Seconds_Behind_Master   #
 
99
Master_SSL_Verify_Server_Cert   No
 
100
Last_IO_Errno   #
 
101
Last_IO_Error   #
 
102
Last_SQL_Errno  0
 
103
Last_SQL_Error  
 
104
stop slave;
 
105
change master to
 
106
master_host="localhost",
 
107
master_ssl=1 ,
 
108
master_ssl_ca ='MYSQL_TEST_DIR/std_data/cacert.pem',
 
109
master_ssl_cert='MYSQL_TEST_DIR/std_data/client-cert.pem',
 
110
master_ssl_key='MYSQL_TEST_DIR/std_data/client-key.pem',
 
111
master_ssl_verify_server_cert=1;
 
112
start slave;
 
113
create table t1 (t int);
 
114
insert into t1 values (1);
 
115
on slave
 
116
select * from t1;
 
117
t
 
118
1
 
119
show slave status;
 
120
Slave_IO_State  #
 
121
Master_Host     localhost
 
122
Master_User     root
 
123
Master_Port     MASTER_MYPORT
 
124
Connect_Retry   1
 
125
Master_Log_File #
 
126
Read_Master_Log_Pos     #
 
127
Relay_Log_File  #
 
128
Relay_Log_Pos   #
 
129
Relay_Master_Log_File   #
 
130
Slave_IO_Running        #
 
131
Slave_SQL_Running       Yes
 
132
Replicate_Do_DB 
 
133
Replicate_Ignore_DB     
 
134
Replicate_Do_Table      
 
135
Replicate_Ignore_Table  #
 
136
Replicate_Wild_Do_Table 
 
137
Replicate_Wild_Ignore_Table     
 
138
Last_Errno      0
 
139
Last_Error      
 
140
Skip_Counter    0
 
141
Exec_Master_Log_Pos     #
 
142
Relay_Log_Space #
 
143
Until_Condition None
 
144
Until_Log_File  
 
145
Until_Log_Pos   0
 
146
Master_SSL_Allowed      Yes
 
147
Master_SSL_CA_File      MYSQL_TEST_DIR/std_data/cacert.pem
 
148
Master_SSL_CA_Path      
 
149
Master_SSL_Cert MYSQL_TEST_DIR/std_data/client-cert.pem
 
150
Master_SSL_Cipher       
 
151
Master_SSL_Key  MYSQL_TEST_DIR/std_data/client-key.pem
 
152
Seconds_Behind_Master   #
 
153
Master_SSL_Verify_Server_Cert   Yes
 
154
Last_IO_Errno   #
 
155
Last_IO_Error   #
 
156
Last_SQL_Errno  0
 
157
Last_SQL_Error  
 
158
drop table t1;