Mysql::Error in BugsController#index #28000Access denied for user ‘root’@‘localhost’ (using password: YES)
Why I get this error?
Because your production server has a different password for the root
mysql user? (Perhaps you’re not even supposed to be using the root
user, I certainly wouldn’t).
I feel idiot. Yeah, I mistyped the pwd for the production database
However, when accesing to http://localhost:3000/,
when click on “About your application’s environment”, I get:
“The page you were looking for doesn’t exist.
You may have mistyped the address or the page may have moved.”
I don’t care, cause I’m gonna make my own index page, but I wonder what
the problem is.
Damaris F. wrote:
No… it’s the same server, with the tree database there (test,
development, production)… The database.yaml is also correct.
I feel idiot. Yeah, I mistyped the pwd for the production database
However, when accesing to http://localhost:3000/,
when click on “About your application’s environment”, I get:
“The page you were looking for doesn’t exist.
You may have mistyped the address or the page may have moved.”
I don’t care, cause I’m gonna make my own index page, but I wonder
what
the problem is.
It may be related to this:
http://dev.rubyonrails.org/ticket/8349
That patch is a bit old, I have not checked whether it still can be
applied cleanly.
– fxn
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.