From fc5a56eec359eee2dbfff8cf089624361765a9f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Canna=C3=B2?= Date: Sat, 17 Jun 2017 02:02:47 +0200 Subject: [PATCH] Fix bug #1054, MySQL error 1203 Do not shun for error 1203: User %s already has more than 'max_user_connections' active connections --- lib/MySQL_HostGroups_Manager.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/MySQL_HostGroups_Manager.cpp b/lib/MySQL_HostGroups_Manager.cpp index 5a961cd93..23e6c4575 100644 --- a/lib/MySQL_HostGroups_Manager.cpp +++ b/lib/MySQL_HostGroups_Manager.cpp @@ -238,7 +238,8 @@ void MySrvC::connect_error(int err_num) { case 1044: // access denied case 1045: // access denied case 1049: //Unknown databas - case 1226: // do not increase counter to avoid Shunning if user has max_user_connections restriction + case 1203: // User %s already has more than 'max_user_connections' active connections + case 1226: // User '%s' has exceeded the '%s' resource (current value: %ld) return; break; default: