Fix review nits, specifically adding explicit database connection to mysql calls.