Take the 2-minute tour ×
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:

http://tomkeur.net/39/how-to-remove-mysql-completely-mac-os-x-leopard.html

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/com.mysql.mysql.bom
sudo rm /var/db/receipts/com.mysql.mysql..plist

any help on this?

Many Thanks, Mr. Nizzle.

UPDATE

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
Code=112
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";
}

UPDATE

this is the full Installation Error Log:

http://pastie.org/1791314

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

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
add comment

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

http://stackoverflow.com/questions/5645038/mysql-the-installation-failed-on-snow-leopard/5651195#5651195

same as @nuc

share|improve this answer
add comment

Your Answer

 
discard

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.