added reconnection parameters to mysql