This error is usually caused by a part installation being left behind somewhere.
My suggestion is to ensure that MySQL is completely removed. Note that most installation packages put MySQL in the /lib area while by default OS X has it somewhere else (location eludes me right now).
Make...