Corrected MySQL Module

Added reconnect feature.