Created
June 4, 2013 18:41
-
-
Save raykao/5708374 to your computer and use it in GitHub Desktop.
Pointing mySQL2 libmysqlclient.18.dylib to the proper location with MAMP
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://blog.mirotin.net/35/mamp-1-9-5-mysql-5-5-9-and-ruby-mysql2 | |
sudo install_name_tool -change libmysqlclient.18.dylib /Applications/MAMP/Library/lib/libmysqlclient.18.dylib ~/.rvm/gems/ruby-2.0.0-p0/gems/mysql2-0.3.11/lib/mysql2/mysql2.bundle | |
gem install mysql2 -- --with-mysql-config=/Applications/MAMP/Library/bin/mysql_config | |
database.yml | |
socket: /Applications/MAMP/tmp/mysql/mysql.sock | |
http://coolestguyplanettech.com/downtown/install-and-configure-apache-mysql-php-and-phpmyadmin-osx-108-mountain-lion | |
http://jason.pureconcepts.net/2012/10/install-apache-php-mysql-mac-os-x/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment