Enable the mysql profile and fix unit tests to work with mysql