Bug #79277 | ALTER USER/SET PASSWORD do not work for --init-file execution | ||
---|---|---|---|
Submitted: | 13 Nov 2015 18:41 | Modified: | 14 Dec 2015 14:31 |
Reporter: | Paul DuBois | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Security: Privileges | Severity: | S2 (Serious) |
Version: | 5.7.3+ | OS: | Any |
Assigned to: | CPU Architecture: | Any |
[13 Nov 2015 18:41]
Paul DuBois
[13 Nov 2015 22:24]
MySQL Verification Team
Thank you for the bug report. 2015-11-13T22:23:04.316060Z 0 [Note] Execution of init_file 'c:\dbs\mypass.txt' started. 2015-11-13T22:23:04.319568Z 1 [ERROR] 1131 You are using MySQL as an anonymous user and anonymous users are not allowed to change passwords 2015-11-13T22:23:04.320557Z 0 [Note] Execution of init_file 'c:\dbs\mypass.txt' ended.
[14 Dec 2015 14:31]
Paul DuBois
Noted in 5.7.11, 5.8.0 changelogs. ALTER USER and SET PASSWORD did not work at server startup when invoked in the file named using the --init-file option.