Hi, I'm new to RubyonRails and MySQL, and ran into a problem when following the 'OnLamp "Rolling with Ruby on Rails" Tutorial' found under the tutorials section of this website:
http://dev.mysql.com/usingmysql/ruby/
Everything's running along smoothly until I get to the part of the tutorial that involves loading a database (corresponds to figure 32 in the tutorial). The error message I get is:
Mysql::Error in Recipe#new
#28000Access denied for user 'root'@'localhost' (using password: NO)
RAILS_ROOT: ./script/../config/..
Application Trace | Framework Trace | Full Trace
[a bunch of stuff in the middle, then:]
script/server:3
Request
Parameters: None
Show session dump
---
flash: !ruby/hash:ActionController::Flash::FlashHash {}
Response
Headers: {"cookie"=>[], "Cache-Control"=>"no-cache"}
Am I locking myself out with a server password?
Thank you for your help,
John