Hello --
Please pardon my newness -- I'm just getting started with rails, and I'm having some difficulty getting it set up with MySQL.
I am able to get the basic ruby server running (script\server). When I created a new page (using script/generate controller about index), I am not able to navigate to the new page, and Ruby either crashes or gives me an error:
/!\ FAILSAFE /!\ Tue Jun 15 13:53:08 -0700 2010 Status: 500 Internal Server Error Access denied for user 'root'@'localhost' (using password: NO)
I have modified the database.yml file (full text of file pasted below). I know the password is correct, as it is what I use to launch mysql. When I enter 'show databases' into MySQL monitor, I see the two databases I specified (emporium_development and emporium_test). The MySQL service is running (I'm on Win7). I have tried both restarting the MySQL service and restarting the ruby server. I created the project with the command: 'rails emporium -d mysql' and prior to that, I installed the mysql driver for rails using the command 'gem install mysql'. I installed the 105.4 MB mysql from here: MySQL :: Download MySQL Community Server, but I have not installed anything else (outside of rails).
Thank you for any help you can offer!! Sarah
database.yml:
# MySQL. Versions 4.1 and 5.0 are recommended.