Hello Bruce, i think Dan is correct.
Rails usually look out for database in some cases even if it doesnt
have to.
But if you havent set a password in MySQL while installing in the
first case then you dont need to fill the password blank.
Also, which MySQL are you using ?
Now, if u have set a password then in that case you will have to login
as
"mysql -u root -p"
It will ask u the password after you enter this command.
Once you put the password it will not pop any such error.
mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'root'@'localhost' <using password:
>'
That is not a Rails issue, it is saying that you have not setup your
mysql server to allow access as user root with no password. Assuming
that you have setup a mysql server then provide a valid user and
password in the mysqladmin command. Google for mysqladmin if you do
not know how to do that.
My database.yml file shows
development:
adapter: mysql
encoding: utf8
database: railscoders_development
username: root
password: