[MDEV-10090] Error message for CREATE USER of existing user is unhelpful Created: 2016-05-20 Updated: 2023-04-27 |
|
| Status: | Confirmed |
| Project: | MariaDB Server |
| Component/s: | Admin statements |
| Affects Version/s: | 5.5, 10.0, 10.1, 10.2, 10.3, 10.4, 10.5 |
| Fix Version/s: | 10.4, 10.5 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Anders Karlsson | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | upstream | ||
| Description |
|
Creating a user that already exists does not show a helpful message, it just says that it failed:
This is not helpful at all and is not in line with other CREATE statements, such as create table:
An error message is supposed to tell you what went wrong, if possible, not only that it went wrong, just like with the CREATE TABLE statement above, and not as in the CREATE USER statement. This is also true for RENAME USER. |
| Comments |
| Comment by Elena Stepanova [ 2016-05-27 ] |
|
One of the ancient upstream issues: https://bugs.mysql.com/bug.php?id=28331 |