Debian Codegraph @

mysql-test/suite/auth_sec/r/initialize_admin_channel.result

raw
1 #
2 # Bug#31101320 TLS INITIALIZATION FOR ADMIN CHANNEL
3 # SHOULD NOT BE DONE DURING --INITIALIZE
4 #
5 # create bootstrap file
6 # shut server down
7 # Server is down
8 # -----------------------------------------------------------------------
9 #
10 # Try --initialize
11 #
12 # Run the server with --initialize
13 # check for Failed to initialize TSL for channel: mysql_admin. - pattern should not be present.
14 Pattern not found.
15 # check for No TLS configuration was given for channel mysql_admin - pattern should not be present.
16 Pattern not found.
17 # check for Channel mysql_main configured to support TLS - pattern should not be present.
18 Pattern not found.
19 # check for Channel mysql_admin configured to support TLS - pattern should not be present.
20 Pattern not found.
21 # delete mysqld log
22 # delete datadir
23 # -----------------------------------------------------------------------
24 #
25 # Try --initialize --admin-address=127.0.0.1
26 #
27 # check for Failed to initialize TSL for channel: mysql_admin - pattern should not be present.
28 Pattern not found.
29 # check for No TLS configuration was given for channel mysql_admin - pattern should not be present.
30 Pattern not found.
31 # check for Channel mysql_main configured to support TLS - pattern should be not present.
32 Pattern not found.
33 # check for Channel mysql_admin configured to support TLS - pattern should not be present.
34 Pattern not found.
35 # delete mysqld log
36 # delete datadir
37 # -----------------------------------------------------------------------
38 #
39 # Try --initialize-insecure
40 #
41 # Run the server with --initialize-insecure
42 # check for Failed to initialize TSL for channel: mysql_admin - pattern should not be present.
43 Pattern not found.
44 # check for No TLS configuration was given for channel mysql_admin - pattern should not be present.
45 Pattern not found.
46 # check for Channel mysql_main configured to support TLS - pattern should not be present.
47 Pattern not found.
48 # check for Channel mysql_admin configured to support TLS - pattern should not be present.
49 Pattern not found.
50 # delete mysqld log
51 # delete datadir
52 # -----------------------------------------------------------------------
53 #
54 # Try --initialize-insecure --admin-address=127.0.0.1
55 #
56 # check for Failed to initialize TSL for channel: mysql_admin - pattern should not be present.
57 Pattern not found.
58 # check for No TLS configuration was given for channel mysql_admin - pattern should not be present.
59 Pattern not found.
60 # check for Channel mysql_main configured to support TLS - pattern should not be present.
61 Pattern not found.
62 # check for Channel mysql_admin configured to support TLS - pattern should not be present.
63 Pattern not found.
64 # delete mysqld log
65 # -----------------------------------------------------------------------
66 #
67 # Restart server with --datadir=DDIR
68 #
69 # connect as root
70 # check for Failed to initialize TSL for channel: mysql_admin - pattern should not be present.
71 Pattern not found.
72 # check for No TLS configuration was given for channel mysql_admin - pattern should not be present.
73 Pattern not found.
74 # check for Channel mysql_main configured to support TLS - pattern should be present.
75 Pattern found.
76 # check for Channel mysql_admin configured to support TLS - pattern should not be present.
77 Pattern not found.
78 # shut server down
79 # Server is down
80 # close the test connection
81 # delete mysqld log
82 # -----------------------------------------------------------------------
83 #
84 # Restart server with --datadir=DDIR --admin-address=127.0.0.1
85 #
86 # connect as root
87 # check for Failed to initialize TSL for channel: mysql_admin - pattern should be present.
88 Pattern found.
89 # check for No TLS configuration was given for channel mysql_admin - pattern should be present.
90 Pattern found.
91 # check for Channel mysql_main configured to support TLS - pattern should be present.
92 Pattern found.
93 # check for Channel mysql_admin configured to support TLS - pattern should not be present.
94 Pattern not found.
95 # Setting admin certs
96 # Configure TLS for admin channel
97 ALTER INSTANCE RELOAD TLS FOR CHANNEL mysql_admin;
98 # Connect through admin channel using TLS - should be a success.
99 MYSQL --host=127.0.0.1 --port=MASTER_ADMINPORT --user=root --ssl-mode=REQUIRED -e "SELECT 1"
100 1
101 1
102 # shut server down
103 # Server is down
104 # close the test connection
105 # delete mysqld log
106 # -----------------------------------------------------------------------
107 #
108 # Restart server with --datadir=DDIR --admin-address=127.0.0.1 --skip-ssl
109 #
110 # connect as root
111 # check for Failed to initialize TSL for channel: mysql_admin - pattern should be present.
112 Pattern found.
113 # check for No TLS configuration was given for channel mysql_admin - pattern should not be present.
114 Pattern not found.
115 # check for Channel mysql_main configured to support TLS - pattern should not be present.
116 Pattern not found.
117 # check for Channel mysql_admin configured to support TLS - pattern should not be present.
118 Pattern not found.
119 # shut server down
120 # Server is down
121 # close the test connection
122 # delete mysqld log
123 # -----------------------------------------------------------------------
124 #
125 # Restart server with --datadir=DDIR --admin-address=127.0.0.1 --admin-ssl*
126 #
127 # connect as root
128 # check for Failed to initialize TSL for channel: mysql_admin - pattern should not be present.
129 Pattern not found.
130 # check for No TLS configuration was given for channel mysql_admin - pattern should not be present.
131 Pattern not found.
132 # check for Channel mysql_main configured to support TLS - pattern should be present.
133 Pattern found.
134 # check for Channel mysql_admin configured to support TLS - pattern should be present.
135 Pattern found.
136 # shut server down
137 # Server is down
138 # close the test connection
139 # delete mysqld log
140 # delete datadir
141 # delete bootstrap file
142 #
143 # Cleanup
144 #
145 # Restarting the server