title: Re-install MySql in mac os x 10.6.6
body: <p>I had earlier installed mysql-5.1.50-osx10.6-x86_64.dmg and then uninstalled it using the below belo command (found in stackoverflow)</p>
  
  <pre><code>$ sudo rm /usr/local/mysql
  Password:
  $ sudo rm -rf /usr/local/mysql*
  $ sudo rm -rf /Library/StartupItems/MySQLCOM
  $ sudo rm -rf /Library/PreferencePanes/My*
  $ rm -rf ~/Library/PreferencePanes/My*
  $ sudo rm -rf /Library/Receipts/mysql*
  $ sudo rm -rf /Library/Receipts/MySQL*
  $ sudo vi /etc/hostconfig
  $ sudo rm -rf /var/db/receipts/com.mysql.mysql*
  $ cd /Library/Receipts/
  </code></pre>
  
  <p>Then I have tried to reinstall from mysql-5.5.9-osx10.6-x86_64.dmg.</p>
  
  <p>However I am getting the below error:</p>
  
  <p>The installation failed
  The installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.</p>