[mysql] connect/close the database.