Aldric, Thanks a lot! That was it.
I don't know how many times I looked at the API yesterday, but there it was. Thanks for catching it. By chance, do you know what the difference is between using host and server? Thanks again! Matt On Nov 11, 5:53 am, Aldric Giacomoni <rails-mailing-l...@andreas- s.net> wrote: > mpiskorz wrote: > > > class MyClass < ActiveRecord::Base > > establish_connection( > > :adapter => 'mysql', > > :user => 'root', > > :database => 'hrsuite_production', > > :server => "127.0.0.1", > > :port => 3307) > > > I've also tried :server => '127.0.0.1:3307' but that did not work > > either. I also tried :socket => nil, but no luck. > > Try :host instead of :server . > -- > Posted viahttp://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

