Rolling with Ruby on Rails, Part 2
Subject:   getting the database to work with the password
Date:   2005-04-04 15:54:54
From:   co_banzai
So, according to the author, RoR can work with a MySQL database configured with a password. I've set up my system as described by the author, except that I did require a password for the database. I then entered the database password in the config/database.yml file. However, when I try access the page, I get the following error:

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

From this, it appears that the password is not being passed to MySQL. I've checked the FAQs and the change logs for release 0.9.4 (which is when this was added I think), and I can't figure out what I'm doing wrong. I suspect it's something obvious in the configuration, but if someone could point me in the right direction, I'd be much obliged.

1 to 3 of 3
1 to 3 of 3