Instant Ruby Error

I’m a newbie on this so I set up everything in the tutorial and Apache n
MySQL started but when I tried to run the cookbook some error happened,
the 1st few lines is:

Mysql::Error in RecipeController#list

Access denied for user ‘root’@‘localhost’ (using password: NO)

Rikiki Angel wrote:

I’m a newbie on this so I set up everything in the tutorial and Apache n
MySQL started but when I tried to run the cookbook some error happened,
the 1st few lines is:

Mysql::Error in RecipeController#list

Access denied for user ‘root’@‘localhost’ (using password: NO)

Hi, do you mean you’re using InstantRails?

The error above is the error that you get when Rails can’t connect to
the database. You’ll need to check config/database.yml and see what
properties are set for accessing the database.

Make sure that they are the same as the properties that were used/ set
when you created the database.

Cheers,
Mohit.
11/18/2007 | 12:14 AM.