On 26 February 2012 21:51, rubix Rubix <[email protected]> wrote: > Hi, > > I am trying the tutorial in: > http://guides.rubyonrails.org/getting_started.html > when I try to navigate to http://localhost:3000 after the 4.3 change > I get the error : ActiveRecord::ConnectionNotEstablished > and I don't know how to solve it > the database.yml file is: > adapter => mysql > host => 127.0.0.1 > database => blog > username => root > password => *****
Did rake db:create that you did earlier succeed. I note that you are using mysql rather than sqlite, is that intentional? Can you access the db via your mysql server by other means? I think you should probably specify mysql2 as the adaptor in database.yml. At least that is what I have. Colin > > my gems: > rails 3.1.3 > activerecord 3.1.3 > mysql 2.8.1 -- 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.

