diff options
author | Robert Bindar <robert@mariadb.org> | 2019-02-13 20:02:42 +0100 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2019-02-14 17:30:22 +0100 |
commit | 6c8ce999f861c8c56edaf6b6e965c6c48bd9e37c (patch) | |
tree | ba71b52e8cb0182d2b54c57decf34a8fde0a2819 /sql/share | |
parent | d89cdfc2291560c1cd9bc55658584577d0ce5ef6 (diff) | |
download | mariadb-git-6c8ce999f861c8c56edaf6b6e965c6c48bd9e37c.tar.gz |
MDEV-13095 Implement User Account locking
Add server support for user account locking.
This patch extends the ALTER/CREATE USER statements for
denying a user's subsequent login attempts:
ALTER USER
user [, user2] ACCOUNT [LOCK | UNLOCK]
CREATE USER
user [, user2] ACCOUNT [LOCK | UNLOCK]
The SHOW CREATE USER statement was updated to display the
locking state of an user.
Closes #1006
Diffstat (limited to 'sql/share')
-rw-r--r-- | sql/share/errmsg-utf8.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sql/share/errmsg-utf8.txt b/sql/share/errmsg-utf8.txt index e09afebe074..f80ae99ac50 100644 --- a/sql/share/errmsg-utf8.txt +++ b/sql/share/errmsg-utf8.txt @@ -7933,3 +7933,6 @@ ER_BACKUP_UNKNOWN_STAGE eng "Unknown backup stage: '%s'. Stage should be one of START, FLUSH, BLOCK_DDL, BLOCK_COMMIT or END" ER_USER_IS_BLOCKED eng "User is blocked because of too many credential errors; unblock with 'FLUSH PRIVILEGES'" +ER_ACCOUNT_HAS_BEEN_LOCKED + eng "Access denied, this account is locked" + rum "Acces refuzat, acest cont este blocat" |