Skip to content

Instantly share code, notes, and snippets.

@trevorturk
Created January 10, 2010 07:41
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save trevorturk/273368 to your computer and use it in GitHub Desktop.
Save trevorturk/273368 to your computer and use it in GitHub Desktop.
homebrew snow leopard notes
sudo env ARCHFLAGS="-arch x86_64" gem install mysql -- -with-mysql-config=/usr/local/bin/mysql_config --with-mysql-dir=/usr/local/bin/
sudo cp /usr/local/Cellar/mysql/5.1.41/com.mysql.mysqld.plist /Library/LaunchDaemons
sudo launchctl load -w /Library/LaunchDaemons/com.mysql.mysqld.plist
sudo cp /usr/local/Cellar/couchdb/0.10.1/Library/LaunchDaemons/org.apache.couchdb.plist /Library/LaunchDaemons
sudo launchctl load -w /Library/LaunchDaemons/org.apache.couchdb.plist
sudo cp /usr/local/Cellar/postgresql/8.4.1/org.postgresql.postgres.plist /Library/LaunchDaemons
sudo launchctl load -w /Library/LaunchDaemons/org.postgresql.postgres.plist
edit /Library/LaunchDaemons/* to make sure the username is your normal username. MySQL should work fine with no changes. CouchDB can be run as your normal username or you can make a couchdb user. Postgres may just have a formatting error - move the <string></string> onto one line.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment