MySQL Forums
Forum List  »  Ruby

Re: Ruby and MySQL
Posted by: John McCarthy
Date: April 08, 2006 06:47PM

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:

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:]



Parameters: None

Show session dump

flash: !ruby/hash:ActionController::Flash::FlashHash {}

Headers: {"cookie"=>[], "Cache-Control"=>"no-cache"}

Am I locking myself out with a server password?

Thank you for your help,


Options: ReplyQuote

Written By
December 01, 2005 02:34AM
April 03, 2006 03:20AM
Re: Ruby and MySQL
April 08, 2006 06:47PM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.