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:
13
mysql-test/include/have_auth_named_pipe.inc
Normal file
13
mysql-test/include/have_auth_named_pipe.inc
Normal 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;
|
||||
}
|
Reference in New Issue
Block a user