Updated MELA SQL data connection (to open connection only if old connection not working)