[MDEV-11733] When access is denied due to SSL being missing, error message doesn't tell you Created: 2017-01-06 Updated: 2017-05-25 |
|
| Status: | Confirmed |
| Project: | MariaDB Server |
| Component/s: | Authentication and Privilege System |
| Fix Version/s: | None |
| Type: | Task | Priority: | Minor |
| Reporter: | Graham Leggett | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | upstream | ||
| Description |
|
When an attempt is made to log into mysql with a user that requires SSL, and the client does not use SSL, the following error message is displayed:
While the error message confirms that a password was present, the error message does not confirm whether SSL is present, and this causes significant confusion, particularly among people who are not DBAs. The error message needs to be updated to include:
|
| Comments |
| Comment by Elena Stepanova [ 2017-01-11 ] |
|
Same line is printed in the error log if log_warnings=2, no additional information there. |
| Comment by Graham Leggett [ 2017-01-11 ] |
|
The error message I was referring to is in a log that is only visible to the administrator. The bug report quoted https://bugs.mysql.com/bug.php?id=20899 is about displaying errors to the end user, which is something different. |
| Comment by Elena Stepanova [ 2017-01-11 ] |
|
You are right, the correct reference would be this: https://bugs.mysql.com/bug.php?id=21565 |