Fixed for homebrew mysql on OSX