You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MDEV-36397 Record change_user command in MTR output
MTR .result files currently do not contain output to indicate if a
change_user command has been executed in the corresponding .test files.
Record change_user command in MTR output in the following format in MTR
output only if enable_connect_log and enable_query_log is set to true:
change_user <user>,<password>,<db>;
All new code of the whole pull request, including one or several files
that are either new files or modified ones, are contributed under the
BSD-new license. I am contributing on behalf of my employer Amazon Web
Services, Inc.
ERROR HY000: Server is running in --secure-auth mode, but 'uu2'@'localhost' has a password in the old format; please change the password to the new format
13
+
change_user u1,,;
13
14
ERROR 28000: Access denied for user 'u1'@'localhost' (using password: NO)
15
+
change_user uu2,,;
14
16
ERROR HY000: Server is running in --secure-auth mode, but 'uu2'@'localhost' has a password in the old format; please change the password to the new format
17
+
change_user uu2,password,;
15
18
ERROR HY000: Server is running in --secure-auth mode, but 'uu2'@'localhost' has a password in the old format; please change the password to the new format
16
19
delete from mysql.user where plugin = 'mysql_old_password';
Copy file name to clipboardExpand all lines: mysql-test/main/mysqltest.result
+8-4
Original file line number
Diff line number
Diff line change
@@ -883,9 +883,9 @@ INSERT INTO t1 SELECT f1 - 256 FROM t1;
883
883
INSERT INTO t1 SELECT f1 - 512 FROM t1;
884
884
SELECT * FROM t1;
885
885
DROP TABLE t1;
886
-
select "500g bl�b�rsyltet�y" as "will be lower cased";
886
+
select "500g bl�b�rsyltet�y" as "will be lower cased";
887
887
will be lower cased
888
-
500g bl�b�rsyltet�y
888
+
500g bl�b�rsyltet�y
889
889
SELECT "UPPER" AS "WILL NOT BE lower cased";
890
890
WILL NOT BE lower cased
891
891
UPPER
@@ -903,8 +903,8 @@ xyz
903
903
select 1 as "some new text";
904
904
some new text
905
905
1
906
-
select 0 as "will not lower case ���";
907
-
will not lower case ���
906
+
select 0 as "will not lower case ���";
907
+
will not lower case ���
908
908
0
909
909
CREATE TABLE t1(
910
910
a int, b varchar(255), c datetime
@@ -949,6 +949,10 @@ drop table t1;
949
949
mysqltest: At line 1: query 'change_user root,,inexistent' failed: ER_BAD_DB_ERROR (1049): Unknown database 'inexistent'
950
950
mysqltest: At line 1: query 'change_user inexistent,,test' failed: ER_ACCESS_DENIED_ERROR (1045): Access denied for user 'inexistent'@'localhost' (using password: NO)
951
951
mysqltest: At line 1: query 'change_user root,inexistent,test' failed: ER_ACCESS_DENIED_ERROR (1045): Access denied for user 'root'@'localhost' (using password: YES)
0 commit comments