hi all, I been spending days tring to resolse this error... I am following curt hobbs tutorial "rolling with ruby on rails. originally i installed MySQL with a pasword so i was running into problems trying to connect. Mysql::Error in Recipe#new #28000Access denied for user 'root'@'localhost' (using password: NO) I removed the password and now i am getting another error: Mysql::Error in Recipe#new #28000Access denied for user 'root'@'localhost' (using password: YES) Any info or suggestions will be greatly appreciated. I am stuck and don't know how to get around this error. thanks in advance, enjoy the journey, buster
on 2005-11-17 04:55
on 2005-12-09 11:26
Hi buster ,
Try out this command now and please let me know the resullt .
ruby script/server environment=development
Thanx and regards,
Naroor Rathish,
www.naroor.blogspot.com
on 2005-12-13 06:42
This is a bug that is addressed in the book "Agil Web Development with Rails". They say to put a username in you .yaml and it will work.
on 2006-04-09 03:55
Hi, I'm having the same problem, and I tried Charlie Bowman's suggestion unsuccessfully, would anyone mind explaining the remedy in more detail or sharing something that works? thank you, John
on 2006-05-23 19:18
After making a change in database.yml, did you bounce the server? Stop and restart whichever web server you're using so it can load the new user info. Best, Anton
on 2007-02-24 18:42
Anton wrote: > After making a change in database.yml, did you bounce the server? Stop > and restart whichever web server you're using so it can load the new > user info. > > Best, > Anton It's the solution. I had the same error because I forgot restart the server after change database.yml Thanks!
on 2007-04-16 18:01
Good solution guys, thanks. I am also using the "Rolling with Ruby on Rails Revisited" tutorial, and it says to configure the 'ODBC'@'localhost' connection. If you were sucessfull at doing this then replace the 'root' username in database.yml with 'ODBC'. Then it worked. Pedro wrote: > Anton wrote: >> After making a change in database.yml, did you bounce the server? Stop >> and restart whichever web server you're using so it can load the new >> user info. >> >> Best, >> Anton > > It's the solution. I had the same error because I forgot restart the > server after change database.yml > > Thanks!
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.