Forums | Admin

Discussion Forums: help

Start New Thread Start New Thread

 

By: Richard Lee
Rails database.yml file [ reply ]  
2006-02-12 20:03
I'm a newbie trying to follow the Agile Web Development with Rails book examples

I have:
ruby 1.84
rails version 1.0.0
MySQL version 5.0

When I try to run the script
depot> ruby script/generate scaffold product admin

I get errors evidently becasue the database.yml file does not match the example in the book.

The version on my computer is asking for a Socket?
DATABASE.YML
adapter: mysql
database: depot_test
username: root
password:
#socket:

What do I do?