mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
More trivial test results updates
This commit is contained in:
@ -129,6 +129,7 @@ max_connections 0
|
||||
max_user_connections 0
|
||||
plugin
|
||||
authentication_string
|
||||
password_expired N
|
||||
Host localhost
|
||||
User testuser2
|
||||
Password
|
||||
@ -171,6 +172,7 @@ max_connections 0
|
||||
max_user_connections 0
|
||||
plugin
|
||||
authentication_string
|
||||
password_expired N
|
||||
Host localhost
|
||||
User testuser3
|
||||
Password
|
||||
@ -213,6 +215,7 @@ max_connections 0
|
||||
max_user_connections 0
|
||||
plugin
|
||||
authentication_string
|
||||
password_expired N
|
||||
#
|
||||
# Add GRANT OPTION db_datadict.* to testuser1;
|
||||
GRANT UPDATE ON db_datadict.* TO 'testuser1'@'localhost' WITH GRANT OPTION;
|
||||
@ -279,6 +282,7 @@ max_connections 0
|
||||
max_user_connections 0
|
||||
plugin
|
||||
authentication_string
|
||||
password_expired N
|
||||
Host localhost
|
||||
User testuser2
|
||||
Password
|
||||
@ -321,6 +325,7 @@ max_connections 0
|
||||
max_user_connections 0
|
||||
plugin
|
||||
authentication_string
|
||||
password_expired N
|
||||
Host localhost
|
||||
User testuser3
|
||||
Password
|
||||
@ -363,6 +368,7 @@ max_connections 0
|
||||
max_user_connections 0
|
||||
plugin
|
||||
authentication_string
|
||||
password_expired N
|
||||
# Establish connection testuser1 (user=testuser1)
|
||||
SELECT * FROM information_schema.user_privileges
|
||||
WHERE grantee LIKE '''testuser%'''
|
||||
@ -415,6 +421,7 @@ max_connections 0
|
||||
max_user_connections 0
|
||||
plugin
|
||||
authentication_string
|
||||
password_expired N
|
||||
Host localhost
|
||||
User testuser2
|
||||
Password
|
||||
@ -457,6 +464,7 @@ max_connections 0
|
||||
max_user_connections 0
|
||||
plugin
|
||||
authentication_string
|
||||
password_expired N
|
||||
Host localhost
|
||||
User testuser3
|
||||
Password
|
||||
@ -499,6 +507,7 @@ max_connections 0
|
||||
max_user_connections 0
|
||||
plugin
|
||||
authentication_string
|
||||
password_expired N
|
||||
SHOW GRANTS;
|
||||
Grants for testuser1@localhost
|
||||
GRANT USAGE ON *.* TO 'testuser1'@'localhost'
|
||||
@ -573,6 +582,7 @@ max_connections 0
|
||||
max_user_connections 0
|
||||
plugin
|
||||
authentication_string
|
||||
password_expired N
|
||||
Host localhost
|
||||
User testuser2
|
||||
Password
|
||||
@ -615,6 +625,7 @@ max_connections 0
|
||||
max_user_connections 0
|
||||
plugin
|
||||
authentication_string
|
||||
password_expired N
|
||||
Host localhost
|
||||
User testuser3
|
||||
Password
|
||||
@ -657,6 +668,7 @@ max_connections 0
|
||||
max_user_connections 0
|
||||
plugin
|
||||
authentication_string
|
||||
password_expired N
|
||||
GRANT SELECT ON *.* TO 'testuser1'@'localhost' WITH GRANT OPTION;
|
||||
#
|
||||
# Here <SELECT YES> is shown correctly for testuser1;
|
||||
@ -723,6 +735,7 @@ max_connections 0
|
||||
max_user_connections 0
|
||||
plugin
|
||||
authentication_string
|
||||
password_expired N
|
||||
Host localhost
|
||||
User testuser2
|
||||
Password
|
||||
@ -765,6 +778,7 @@ max_connections 0
|
||||
max_user_connections 0
|
||||
plugin
|
||||
authentication_string
|
||||
password_expired N
|
||||
Host localhost
|
||||
User testuser3
|
||||
Password
|
||||
@ -807,6 +821,7 @@ max_connections 0
|
||||
max_user_connections 0
|
||||
plugin
|
||||
authentication_string
|
||||
password_expired N
|
||||
# Switch to connection testuser1
|
||||
SELECT * FROM information_schema.user_privileges
|
||||
WHERE grantee LIKE '''testuser%'''
|
||||
@ -859,6 +874,7 @@ max_connections 0
|
||||
max_user_connections 0
|
||||
plugin
|
||||
authentication_string
|
||||
password_expired N
|
||||
Host localhost
|
||||
User testuser2
|
||||
Password
|
||||
@ -901,6 +917,7 @@ max_connections 0
|
||||
max_user_connections 0
|
||||
plugin
|
||||
authentication_string
|
||||
password_expired N
|
||||
Host localhost
|
||||
User testuser3
|
||||
Password
|
||||
@ -943,6 +960,7 @@ max_connections 0
|
||||
max_user_connections 0
|
||||
plugin
|
||||
authentication_string
|
||||
password_expired N
|
||||
SHOW GRANTS;
|
||||
Grants for testuser1@localhost
|
||||
GRANT SELECT ON *.* TO 'testuser1'@'localhost' WITH GRANT OPTION
|
||||
@ -1047,6 +1065,7 @@ max_connections 0
|
||||
max_user_connections 0
|
||||
plugin
|
||||
authentication_string
|
||||
password_expired N
|
||||
Host localhost
|
||||
User testuser2
|
||||
Password
|
||||
@ -1089,6 +1108,7 @@ max_connections 0
|
||||
max_user_connections 0
|
||||
plugin
|
||||
authentication_string
|
||||
password_expired N
|
||||
Host localhost
|
||||
User testuser3
|
||||
Password
|
||||
@ -1131,6 +1151,7 @@ max_connections 0
|
||||
max_user_connections 0
|
||||
plugin
|
||||
authentication_string
|
||||
password_expired N
|
||||
# Switch to connection testuser1
|
||||
SELECT * FROM information_schema.user_privileges
|
||||
WHERE grantee LIKE '''testuser%'''
|
||||
@ -1230,6 +1251,7 @@ max_connections 0
|
||||
max_user_connections 0
|
||||
plugin
|
||||
authentication_string
|
||||
password_expired N
|
||||
Host localhost
|
||||
User testuser2
|
||||
Password
|
||||
@ -1272,6 +1294,7 @@ max_connections 0
|
||||
max_user_connections 0
|
||||
plugin
|
||||
authentication_string
|
||||
password_expired N
|
||||
Host localhost
|
||||
User testuser3
|
||||
Password
|
||||
@ -1314,6 +1337,7 @@ max_connections 0
|
||||
max_user_connections 0
|
||||
plugin
|
||||
authentication_string
|
||||
password_expired N
|
||||
# Switch to connection testuser1
|
||||
SELECT * FROM information_schema.user_privileges
|
||||
WHERE grantee LIKE '''testuser%'''
|
||||
@ -1366,6 +1390,7 @@ max_connections 0
|
||||
max_user_connections 0
|
||||
plugin
|
||||
authentication_string
|
||||
password_expired N
|
||||
Host localhost
|
||||
User testuser2
|
||||
Password
|
||||
@ -1408,6 +1433,7 @@ max_connections 0
|
||||
max_user_connections 0
|
||||
plugin
|
||||
authentication_string
|
||||
password_expired N
|
||||
Host localhost
|
||||
User testuser3
|
||||
Password
|
||||
@ -1450,6 +1476,7 @@ max_connections 0
|
||||
max_user_connections 0
|
||||
plugin
|
||||
authentication_string
|
||||
password_expired N
|
||||
SHOW GRANTS;
|
||||
Grants for testuser1@localhost
|
||||
GRANT USAGE ON *.* TO 'testuser1'@'localhost'
|
||||
@ -1509,6 +1536,7 @@ max_connections 0
|
||||
max_user_connections 0
|
||||
plugin
|
||||
authentication_string
|
||||
password_expired N
|
||||
Host localhost
|
||||
User testuser2
|
||||
Password
|
||||
@ -1551,6 +1579,7 @@ max_connections 0
|
||||
max_user_connections 0
|
||||
plugin
|
||||
authentication_string
|
||||
password_expired N
|
||||
Host localhost
|
||||
User testuser3
|
||||
Password
|
||||
@ -1593,6 +1622,7 @@ max_connections 0
|
||||
max_user_connections 0
|
||||
plugin
|
||||
authentication_string
|
||||
password_expired N
|
||||
SHOW GRANTS;
|
||||
Grants for testuser1@localhost
|
||||
GRANT USAGE ON *.* TO 'testuser1'@'localhost'
|
||||
@ -1667,6 +1697,7 @@ max_connections 0
|
||||
max_user_connections 0
|
||||
plugin
|
||||
authentication_string
|
||||
password_expired N
|
||||
Host localhost
|
||||
User testuser2
|
||||
Password
|
||||
@ -1709,6 +1740,7 @@ max_connections 0
|
||||
max_user_connections 0
|
||||
plugin
|
||||
authentication_string
|
||||
password_expired N
|
||||
Host localhost
|
||||
User testuser3
|
||||
Password
|
||||
@ -1751,6 +1783,7 @@ max_connections 0
|
||||
max_user_connections 0
|
||||
plugin
|
||||
authentication_string
|
||||
password_expired N
|
||||
# Switch to connection testuser1
|
||||
SELECT * FROM information_schema.user_privileges
|
||||
WHERE grantee LIKE '''testuser%'''
|
||||
|
Reference in New Issue
Block a user