Sign up ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

I had an old instalation of MySQL but it wasn't working very well.. so i googled how to completley remove it and found this:

and then did:

sudo rm /usr/local/mysql
sudo rm -rf /usr/local/mysql*
sudo rm -rf /Library/StartupItems/MySQLCOM
sudo rm -rf /Library/PreferencePanes/My*
sudo rm -rf /Library/Receipts/mysql*
sudo rm -rf /Library/Receipts/MySQL*

And now i'm getting this on a new install:The Instalation Failed

i also ran this commands:

    sudo rm /var/db/dslocal/nodes/Default/groups/_mysql.plist
sudo rm /var/db/dslocal/nodes/Default/users/_mysql.plist
sudo rm /var/db/receipts/
sudo rm /var/db/receipts/com.mysql.mysql..plist

any help on this?

Many Thanks, Mr. Nizzle.


Installer Error Log Says:

Apr 13 00:18:31 nizzlesmymac installd[3203]:
PackageKit: Install Failed:
PKG: post-flight scripts for "com.mysql.mysql"
Error Domain=PKInstallErrorDomain
UserInfo=0x101e45ac0 "An error occurred while running scripts from the package ‚`mysql-5.5.11-osx10.6-x86_64.pkg`."
NSFilePath = "./postflight";
NSLocalizedDescription = "An error occurred while running scripts from the package "mysql-5.5.11-osx10.6-x86_64.pkg".";
NSURL = "file://localhost/Volumes/mysql-5.5.11-osx10.6-x86_64/mysql-5.5.11-osx10.6-x86_64.pkg";
PKInstallPackageIdentifier = "com.mysql.mysql";


this is the full Installation Error Log:

share|improve this question
Please don't cross post your questions. – Jason Salaz Apr 13 '11 at 20:32

2 Answers 2

up vote 1 down vote accepted

You may try to remove manually everything again, and to create the mysql user by yourself using this guide.

Then try to perform the installation again.

share|improve this answer

This was the right answer on this question i posted on StackOverflow:

same as @nuc

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.