| Bug #72442 | binlog off, still see warning: Did not write failed .. into binary log while.... | ||
|---|---|---|---|
| Submitted: | 24 Apr 2014 17:29 | ||
| Reporter: | Shane Bester (Platinum Quality Contributor) | Email Updates: | |
| Status: | Verified | Impact on me: | |
| Category: | MySQL Server: Security: Privileges | Severity: | S4 (Feature request) |
| Version: | 5.7.5 | OS: | Any |
| Assigned to: | CPU Architecture: | Any | |
[2 Feb 2015 11:42]
Sébastien Rault
Affect also mysql version 5.6.22. More problematic is that this warning may also contains password of the created user.

Description: I found errors like this in error log, but binlogs were disabled!! [Warning] Did not write failed 'grant proxy on current_user to a identified with a with grant option' into binary log while granting/revoking privileges in databases. On the client we had some or other errors, which is okay. ERROR 1524 (HY000): Plugin 'a' is not loaded How to repeat: grant proxy on current_user to a identified with a with grant option; Suggested fix: don't print the warning if binlog is not enabled. there are four such places in trunk: .\sql\auth\sql_authorization.cc (4 hits) Line 1391: sql_print_warning("Did not write failed '%s' into binary log while " Line 1605: sql_print_warning("Did not write failed '%s' into binary log while " Line 1825: sql_print_warning("Did not write failed '%s' into binary log while " Line 3326: sql_print_warning("Did not write failed '%s' into binary log while "