Can't connect to local MySQL server through socket '/opt/local/var/run/mysql5/mysqld.sock'

0 views
Skip to first unread message

s.ross

unread,
Nov 18, 2007, 8:02:01 PM11/18/07
to DataMapper
I installed data_mapper from gems, typed in the example (Posts and
Comments) and got this error. Hokey, dokey. I installed the
merb_data_mapper plugin and created a merb-app cuz I need one anyhow.
Then:

merb -i

> p = Post.new
> p.title = 'Feel the Force'
> p.body = 'If it is going you are then go you must'
> p.save

Same error (apologies to Yoda for the possible misquote).

This is OSX Tiger, and AR works fine on this installation.

Thoughts?
Reply all
Reply to author
Forward
0 new messages