mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Merge branch '10.11' into 11.4
This commit is contained in:
@@ -261,6 +261,22 @@ install soname "simple_password_check";
|
||||
MARIADB-ADMIN: unable to change password; error: 'The MariaDB server is running with the --strict-password-validation option so it cannot execute this statement'
|
||||
# All done
|
||||
uninstall plugin simple_password_check;
|
||||
#
|
||||
# End of 10.4 tests
|
||||
#
|
||||
# MDEV-30190 Password check plugin prevents changing grants for CURRENT_USER
|
||||
#
|
||||
select priv into @old_priv from mysql.global_priv where user='root' and host='localhost';
|
||||
install soname "simple_password_check";
|
||||
grant all on db1.* to current_user;
|
||||
select current_user;
|
||||
current_user
|
||||
root@localhost
|
||||
show grants;
|
||||
Grants for root@localhost
|
||||
GRANT ALL PRIVILEGES ON *.* TO `root`@`localhost` WITH GRANT OPTION
|
||||
GRANT ALL PRIVILEGES ON `db1`.* TO `root`@`localhost`
|
||||
GRANT PROXY ON ''@'%' TO 'root'@'localhost' WITH GRANT OPTION
|
||||
revoke all on db1.* from current_user;
|
||||
uninstall plugin simple_password_check;
|
||||
update mysql.global_priv set priv=@old_priv where user='root' and host='localhost';
|
||||
# End of 10.11 tests
|
||||
|
Reference in New Issue
Block a user