Patches for Check MySQL health (number of idle/active connections) [sf#1277478] [#624]