On Tue, Jan 3, 2012 at 1:30 PM, Madhusudhan H R <[email protected]>wrote:
> Hi, > > I am getting the error "Access denied for user 'root'@'localhost' (using > password: YES)" in my application. I have granted full permissions for > the device in mysql. > > My applications runs perfectly fine. But if i keep the browser idle for > some time and then try to load the page I get the above error. When I do > ctrl + F5 few times the app is up and running. > > Why am I getting such an error? The same code with the same DB is > running fine in another system. > > Any help is appreciated. > Could you show: Operating system on which the server is running? Which Rails version? Is that database on the same server, same user, different server? (I presume you are going over TCP/IP ?) Content of config/database.yml (hide the password !). Do you see an error trace in your log file (grep for FATAL or '500') Thanks, Peter -- Peter Vandenabeele http://twitter.com/peter_v http://rails.vandenabeele.com -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

