Mac Detail:
banl09d5acb54:clerk vsrinivasan$ uname -a
Darwin banl09d5acb54.local 10.7.0 Darwin Kernel Version 10.7.0: Sat Jan 29 15:17:16 PST 2011; root:xnu-1504.9.37~1/RELEASE_I386 i386
MySQL:
Install mysql-5.5.10-osx10.6-x86_64.dmg
sudo env ARCHFLAGS="-arch x86_64" gem install mysql -v 2.7 -- --with-mysql-config=/usr/local/mysql/bin/mysql_config
sudo install_name_tool -change libmysqlclient.18.dylib /usr/local/mysql/lib/libmysqlclient.18.dylib /Library/Ruby/Gems/1.8/gems/mysql-2.7/lib/mysql.bundle
Other Gems:
actionmailer (2.3.5)
actionpack (2.3.5)
activerecord (2.3.5)
activeresource (2.3.5)
activesupport (2.3.5)
daemons (1.1.0)
linecache (0.43)
mocha (0.9.12)
mysql (2.7)
rack (1.0.1)
rails (2.3.5)
rake (0.8.3)
rcov (0.9.9)
rmagick (2.13.1)
ruby-debug-base (0.10.5.jb2)
ruby-debug-ide (0.4.17.beta3)
rubygems-update (1.3.6)
stomp (1.1.6)
will_paginate (2.3.15)
Thursday, April 07, 2011
Uninstall MySQL from Mac
Step1:
edit /etc/hostconfig and remove the line MYSQLCOM=-YES-
Step2:
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*
sudo rm /etc/my.cnf
sudo rm -rf /var/db/receipts/com.mysql.mysql*
edit /etc/hostconfig and remove the line MYSQLCOM=-YES-
Step2:
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*
sudo rm /etc/my.cnf
sudo rm -rf /var/db/receipts/com.mysql.mysql*
Subscribe to:
Posts (Atom)