Women in Technology

Hear us Roar

  Rolling with Ruby on Rails
Subject:   Mysql::Error in RecipeController#new
Date:   2006-11-09 02:04:50
From:   smart_aaron
I've followed the steps all the way thrugh generate scaffold but then it came up "Mysql::Error in RecipeController#new"
#28000Access denied for user 'root'@'localhost' (using password: NO)

after input the "http://localhost:3002/recipe/new"
Actually I've modified the database.yml to postgresql all the way right from the start!!
what's wrong ????

Full Threads Oldest First

Showing messages 1 through 2 of 2.

  • Curt Hibbs photo Mysql::Error in RecipeController#new
    2006-11-09 06:42:04  Curt Hibbs | O'Reilly AuthorO'Reilly Blogger [View]

    Any time you modify database.yml you need to shutdown the web server and restart it. Also, look at the log files in log subdirectory to see if anything in there will give you a clue.
    • Mysql::Error in RecipeController#new
      2006-11-09 16:58:35  smart_aaron [View]

      It works !! Thanks a lot !!