My problem is on staging environment. When i try to access my site throw this error:
Access denied for user 'user'@'localhost' (using password: YES)
I understand this message as it tries to enter with production environment information.
I read many post about capistrano and multistages deployment. I should edit passenger configuration on virtual host (mod_rails).
The site is on shared server. I cannot edit passenger configuration and i need a quick solution.
Can i change RAILS_ENV for run the server on staging environment?
Thanks in advance. And excuse me to moderator. Now i can re post a question.
How could request that a question be deleted.
This is an error from the MySQL daemon. You need to grant
user@localhostthe appropriate permissions in your MySQL DB, this is what I use: