Cleaning up some MySQL things