Update mysql connect.