ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Rolling with Ruby on Rails
Subject:   problem with the database
Date:   2006-11-10 04:18:19
From:   vasilanthropos
I have followed succesfully all the steps in your tutorial(except from installing mysql that i had installed) until the creation of cookbook database. First of all, there isn't any test db in mysql. After creating the cookbook database in the database yml file i saw MYSQL(default setup).versions 4.1 and 5 are recommended etc". I edited the file like your example and after that the webserver cannot restart. A small piece of the error message that i get :
Booting WEBrick...
c:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_record/connection_
adapters/abstract/connection_specification.rb:194:in `establish_connection': dev
elopment database is not configured (ActiveRecord::AdapterNotSpecified)


Any idea?


1 to 1 of 1
  1. Curt Hibbs photo problem with the database
    2006-11-10 06:10:47  Curt Hibbs | O'Reilly AuthorO'Reilly Blogger [View]

1 to 1 of 1