1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

MDEV-7598 Lock user after too many password errors

This commit is contained in:
Vladislav Vaintroub
2018-12-05 13:13:07 +01:00
parent 30da40bb8c
commit 83c81d8991
17 changed files with 305 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
--source include/not_embedded.inc
if (!$AUTH_NAMED_PIPE_SO) {
skip No auth_named_pipe plugin;
}
if (!$USERNAME) {
skip USER variable is undefined;
}
if (`SELECT count(*) <> 0 FROM mysql.user WHERE user = '$USERNAME'`) {
skip %USERNAME%=$USER which exists in mysql.user;
}