I messed up my local install of MySQL (it’s a long story that involves me almost throwing a punch to my 30” monitor). I finally gave up, deleted everything MySQL related according to these notes and then I used homebrew to do a clean install. After the install I started getting this error: ERROR 2002…
Category: mysql
Brew Install MySQL Issue
I ran into a problem while trying to install mysql using homebrew: ~/projects/oerglue (master)$ brew install mysql ==> Downloading http://downloads.mysql.com/archives/mysql-5.5/mysql-5.5.12.tar.gz curl: (7) couldn’t connect to host Error: Failure while executing: /usr/bin/curl -f#LA Homebrew 0.8 (Ruby 1.8.7-174; Mac OS X 10.6.8) http://downloads.mysql.com/archives/mysql-5.5/mysql-5.5.12.tar.gz -o /Users/jbasdf/Library/Caches/Homebrew/mysql-5.5.12.tar.gz Basically, the script couldn’t find the mysql source code. Luckily homebrew uses…
ActiveRecord::StatementInvalid: Mysql::Error: Got error 139 from storage engine
I ran into a ‘fun’ error with an application I’ve been working on. Everything was running fine and then one day hoptoad started filling up with exceptions like this: ActiveRecord::StatementInvalid: Mysql::Error: Got error 139 from storage engine I hate errors like that. Lucky for me there’s Google: http://forums.mysql.com/read.php?22,63584,166521#msg-166521 http://bugs.mysql.com/bug.php?id=10035 Turns out that each row in…
Setting Up mysql as utf8 for Ruby on Rails using homebrew
It took me far to much time to get this to work right so hopefully this is helpful for someone (probably me at some point in the future). The hashrocket guys have a great writeup on configuring your development environment. I didn’t need some of their bash configuration but it’s a great starting place. Once…
Configure Your wp-config.php for Database Access on Mac OSX 10.6
I ran into another problem trying to get my database to work on 10.6. The trick is to properly set DB_HOST: /** MySQL hostname */ define(‘DB_HOST’, ‘127.0.0.1:3306’); </pre> For a complete tutorial on how to setup WordPress on Mac OSX 10.6 see http://wordpress.org/support/topic/306878?replies=6.
Install Native MySQL Gem – Edge Rails Stopped Including It
I decided to try out the latest edge Rails and I started getting this error: !!! The bundled mysql.rb driver has been removed from Rails 2.2. Please install the mysql gem and try again: gem install mysql. /!\ FAILSAFE /!\ Mon Jul 28 22:58:38 -0600 2008 Status: 500 Internal Server Error dlopen(/Library/Ruby/Gems/1.8/gems/mysql-2.7/lib/mysql.bundle, 9): Library not…