mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
MDEV-17658 change the structure of mysql.user table
Implement User_table_json. Fix scripts to use mysql.global_priv. Fix tests.
This commit is contained in:
@ -89,7 +89,7 @@ grant select on *.* to foo2 identified with mysql_old_password using '';
|
||||
grant select on *.* to foo2 identified with mysql_old_password;
|
||||
|
||||
# direct updates are not protected
|
||||
update mysql.user set password='xxx' where user='foo1';
|
||||
update mysql.global_priv set priv=json_set(priv, '$.authentication_string', 'xxx') where user='foo1';
|
||||
|
||||
set global strict_password_validation=0;
|
||||
|
||||
|
Reference in New Issue
Block a user