-
Committer:
Michael Widenius
-
Date:
2011-09-26 17:26:47 UTC
-
mto:
This revision was merged to the branch mainline in
revision
3196.
-
Revision ID:
monty@askmonty.org-20110926172647-sie673e02d9cl7pk
Allow one to block an account by using GRANT max_user_connections = -1
One can set @@global.max_user_connections to -1 to block anyone, except SUPER user, to login.
If max_user_connection is 0, one can't change it without a restart (needed to get user connections counting to work correctly)