SV-253666r960735_rule
V-253666
SRG-APP-000001-DB-000031
MADB-10-000100
CAT III
10
To limit the number of connections allowed by a specific user, as a user with appropriate privileges, run the following SQL:
MariaDB> GRANT USAGE ON *.* TO 'username'@'host' WITH MAX_USER_CONNECTIONS number_of_connections;
To check the number of connections allowed for each user, as the database administrator, run the following SQL:
MariaDB> SELECT user, max_user_connections FROM mysql.user;
If any users have more connections configured than documented, this is a finding. A value of 0 indicates unlimited and is a finding.
V-253666
False
MADB-10-000100
To check the number of connections allowed for each user, as the database administrator, run the following SQL:
MariaDB> SELECT user, max_user_connections FROM mysql.user;
If any users have more connections configured than documented, this is a finding. A value of 0 indicates unlimited and is a finding.
M
5475