I create a database in mysql i'm using mysql2 gem and Rails 2 i've already saw some question here about this, but non of them works for me.
I have my database.yml file like so:
development:
adapter: mysql2
database: db
username: root
password: 'root'
host: localhost
i can login into mysql in the command line like this:
mysql -u root -p
and enter the same password: root and i have no error, but when i try to see a page after running scrpit/server the application always show the error Access denied for user 'root'@'localhost' (using password: NO)
Any idea what could be happening here please? Thanks