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.
Hi, I’m having the same problem, and I tried Charlie B.'s suggestion
unsuccessfully, would anyone mind explaining the remedy in more detail
or sharing something that works?
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!
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.