Fixes for issues

Added MySQL version ZEN-9005
Fixed bug with connections