db fixes for mamp, default to mysql