Fix MySQL issues on Travis