Help : No database specified. Missing argument: database

Hi,
I’m new to Ruby programming. I’m wnt thru the example by curt in
onlamp and was stuck up in the midst of configuration.

I’m getting the “No database specified. Missing argument: database.”
error when i tried creating a table recipe in cookbook db .

My database.yml contains the following entries

Development:
adapter:mysql
host:127.0.0.1
username:root
password:
database:cookbook

Could you pls help me out to over come this issue.

thnx
joe

On Wed, 2006-03-29 at 22:54 -0800, freaky fashion wrote:

adapter:mysql
host:127.0.0.1
username:root
password:
database:cookbook

Could you pls help me out to over come this issue.


you need a space between the : and the name

database: cookbook
username: root

etc.

Craig

freaky fashion wrote:

Hi,
I’m new to Ruby programming. I’m wnt thru the example by curt in
onlamp and was stuck up in the midst of configuration.

I’m getting the “No database specified. Missing argument: database.”
error when i tried creating a table recipe in cookbook db .

My database.yml contains the following entries

Development:
adapter:mysql
host:127.0.0.1
username:root
password:
database:cookbook

Could you pls help me out to over come this issue.

thnx
joe

Hi

Change ur database.yml as

Development:
adapter: mysql
host: 127.0.0.1
username: root
password:
database: cookbook

Regards…

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs