.......PS. [ZBX-6163] added setting the reconnect option for mysql databases upon creating connection.