.......PS. [ZBX-6163] moved reconnection option setting for MySQL connections after connection creation to avoid bug in MySQL versions prior to 5.1.6