2 mtr.global_suppressions OK
3 mtr.test_suppressions OK
9 Error : You can't use locks with log tables.
11 mysql.help_category OK
13 mysql.help_relation OK
16 mysql.ndb_binlog_index OK
22 Error : You can't use locks with log tables.
26 mysql.time_zone_leap_second OK
27 mysql.time_zone_name OK
28 mysql.time_zone_transition OK
29 mysql.time_zone_transition_type OK
31 Run it again - should say already completed
32 This installation of MySQL is already upgraded to VERSION, use --force if you still need to run mysql_upgrade
33 Force should run it regardless of wether it's been run before
34 mtr.global_suppressions OK
35 mtr.test_suppressions OK
41 Error : You can't use locks with log tables.
43 mysql.help_category OK
45 mysql.help_relation OK
48 mysql.ndb_binlog_index OK
54 Error : You can't use locks with log tables.
58 mysql.time_zone_leap_second OK
59 mysql.time_zone_name OK
60 mysql.time_zone_transition OK
61 mysql.time_zone_transition_type OK
63 CREATE USER mysqltest1@'%' IDENTIFIED by 'sakila';
64 GRANT ALL ON *.* TO mysqltest1@'%';
65 Run mysql_upgrade with password protected account
66 mtr.global_suppressions OK
67 mtr.test_suppressions OK
73 Error : You can't use locks with log tables.
75 mysql.help_category OK
77 mysql.help_relation OK
80 mysql.ndb_binlog_index OK
86 Error : You can't use locks with log tables.
90 mysql.time_zone_leap_second OK
91 mysql.time_zone_name OK
92 mysql.time_zone_transition OK
93 mysql.time_zone_transition_type OK
95 DROP USER mysqltest1@'%';
96 Run mysql_upgrade with a non existing server socket
97 mysqlcheck: Got error: 2005: Unknown MySQL server host 'not_existing_host' (errno) when trying to connect
98 FATAL ERROR: Upgrade failed
99 set GLOBAL sql_mode='STRICT_ALL_TABLES,ANSI_QUOTES,NO_ZERO_DATE';
100 mtr.global_suppressions OK
101 mtr.test_suppressions OK
102 mysql.columns_priv OK
107 Error : You can't use locks with log tables.
109 mysql.help_category OK
110 mysql.help_keyword OK
111 mysql.help_relation OK
114 mysql.ndb_binlog_index OK
120 Error : You can't use locks with log tables.
124 mysql.time_zone_leap_second OK
125 mysql.time_zone_name OK
126 mysql.time_zone_transition OK
127 mysql.time_zone_transition_type OK
129 set GLOBAL sql_mode=default;
131 # Bug #41569 mysql_upgrade (ver 5.1) add 3 fields to mysql.proc table
132 # but does not set values.
134 CREATE PROCEDURE testproc() BEGIN END;
135 UPDATE mysql.proc SET character_set_client = NULL WHERE name LIKE 'testproc';
136 UPDATE mysql.proc SET collation_connection = NULL WHERE name LIKE 'testproc';
137 UPDATE mysql.proc SET db_collation = NULL WHERE name LIKE 'testproc';
138 mtr.global_suppressions OK
139 mtr.test_suppressions OK
140 mysql.columns_priv OK
145 Error : You can't use locks with log tables.
147 mysql.help_category OK
148 mysql.help_keyword OK
149 mysql.help_relation OK
152 mysql.ndb_binlog_index OK
158 Error : You can't use locks with log tables.
162 mysql.time_zone_leap_second OK
163 mysql.time_zone_name OK
164 mysql.time_zone_transition OK
165 mysql.time_zone_transition_type OK
168 DROP PROCEDURE testproc;
169 WARNING: NULL values of the 'character_set_client' column ('mysql.proc' table) have been updated with a default value (latin1). Please verify if necessary.
170 WARNING: NULL values of the 'collation_connection' column ('mysql.proc' table) have been updated with a default value (latin1_swedish_ci). Please verify if necessary.
171 WARNING: NULL values of the 'db_collation' column ('mysql.proc' table) have been updated with default values. Please verify if necessary.
173 # Bug #53613: mysql_upgrade incorrectly revokes
174 # TRIGGER privilege on given table
176 GRANT USAGE ON *.* TO 'user3'@'%';
177 GRANT ALL PRIVILEGES ON `roelt`.`test2` TO 'user3'@'%';
178 Run mysql_upgrade with all privileges on a user
179 mtr.global_suppressions OK
180 mtr.test_suppressions OK
181 mysql.columns_priv OK
186 Error : You can't use locks with log tables.
188 mysql.help_category OK
189 mysql.help_keyword OK
190 mysql.help_relation OK
193 mysql.ndb_binlog_index OK
199 Error : You can't use locks with log tables.
203 mysql.time_zone_leap_second OK
204 mysql.time_zone_name OK
205 mysql.time_zone_transition OK
206 mysql.time_zone_transition_type OK
208 SHOW GRANTS FOR 'user3'@'%';
210 GRANT USAGE ON *.* TO 'user3'@'%'
211 GRANT ALL PRIVILEGES ON `roelt`.`test2` TO 'user3'@'%'
212 DROP USER 'user3'@'%';