1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +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:
Sergei Golubchik
2018-11-24 14:13:41 +01:00
parent d68d7e50f9
commit 4abb8216a0
180 changed files with 1843 additions and 3198 deletions

View File

@ -198,15 +198,15 @@ grant select on test.* to foo6 identified by password '2222222222222222';
grant select on test.* to foo7 identified via mysql_native_password using '11111111111111111111111111111111111111111';
grant select on test.* to foo8 identified via mysql_old_password using '2222222222222222';
select user,password,plugin,authentication_string from mysql.user where user like 'foo%';
user password plugin authentication_string
foo1 mysql_native_password 11111111111111111111111111111111111111111
foo2 mysql_old_password 2222222222222222
foo3 mysql_native_password 11111111111111111111111111111111111111111
foo4 mysql_old_password 2222222222222222
foo5 mysql_native_password 11111111111111111111111111111111111111111
foo6 mysql_old_password 2222222222222222
foo7 mysql_native_password 11111111111111111111111111111111111111111
foo8 mysql_old_password 2222222222222222
User Password plugin authentication_string
foo1 11111111111111111111111111111111111111111 mysql_native_password 11111111111111111111111111111111111111111
foo2 2222222222222222 mysql_old_password 2222222222222222
foo3 11111111111111111111111111111111111111111 mysql_native_password 11111111111111111111111111111111111111111
foo4 2222222222222222 mysql_old_password 2222222222222222
foo5 11111111111111111111111111111111111111111 mysql_native_password 11111111111111111111111111111111111111111
foo6 2222222222222222 mysql_old_password 2222222222222222
foo7 11111111111111111111111111111111111111111 mysql_native_password 11111111111111111111111111111111111111111
foo8 2222222222222222 mysql_old_password 2222222222222222
drop user foo1;
drop user foo2;
drop user foo3;