more small fixes since homebrew's percona server actually works unlike mysql