Access denied

Hi All

i have run this program. i got this error

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

i am using mysql db.

below database.yml

Install the MySQL driver:

gem install mysql

On MacOS X:

gem install mysql – --include=/usr/local/lib

On Windows:

gem install mysql

Choose the win32 build.

Install MySQL and put its /bin directory on your path.

And be sure to use new-style password hashing:

http://dev.mysql.com/doc/refman/5.0/en/old-client.html

development:
adapter: mysql
database: murali_development
username: root
password: maranam
host: localhost

Warning: The database defined as ‘test’ will be erased and

re-generated from your development database when you run ‘rake’.

Do not set this db to the same as development or production.

test:
adapter: mysql
database: murali_test
username: root
password: maranam
host: localhost

production:
adapter: mysql
database: murali_production
username: root
password: maranam
host: localhost

if any one help me…

by
Murali

hi

did u reboot your server once u modified the database.yml file?
try

2008/8/22 Murali M. [email protected]

http://dev.mysql.com/doc/refman/5.0/en/old-client.html

test:
password: maranam


Ingénieur Etude & Développement
Back Office
RueDuCommerce

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs