-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MDEV-16238 root/localhost authn prioritizes authentication_string ove…
…r Password Don't let SET PASSWORD to set the password, if auth_string is set. Now SET PASSWORD always sets the plugin/auth_string fields and clears the password field (on pre-plugin mysql.user table it works as before).
- Loading branch information
Showing
12 changed files
with
138 additions
and
104 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -372,8 +372,8 @@ [email protected] | |
set password = password('changed'); | ||
disconnect b12302; | ||
connection default; | ||
select host, length(password) from mysql.user where user like 'mysqltest\_1'; | ||
host length(password) | ||
select host, length(authentication_string) from mysql.user where user like 'mysqltest\_1'; | ||
host length(authentication_string) | ||
127.0.0.1 41 | ||
revoke all on mysqltest_1.* from mysqltest_1@'127.0.0.1'; | ||
delete from mysql.user where user like 'mysqltest\_1'; | ||
|
@@ -387,8 +387,8 @@ [email protected]/255.0.0.0 | |
set password = password('changed'); | ||
disconnect b12302_2; | ||
connection default; | ||
select host, length(password) from mysql.user where user like 'mysqltest\_1'; | ||
host length(password) | ||
select host, length(authentication_string) from mysql.user where user like 'mysqltest\_1'; | ||
host length(authentication_string) | ||
127.0.0.0/255.0.0.0 41 | ||
revoke all on mysqltest_1.* from mysqltest_1@'127.0.0.0/255.0.0.0'; | ||
delete from mysql.user where user like 'mysqltest\_1'; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.