Answer the question
In order to leave comments, you need to log in
Why does ROR not connect to postgresql database after database restart?
Today I found something strange, restarted postgres service postgresql restart
and found that the Ruby frontend can't connect to the database
AND throws errors:
ActiveRecord::StatementInvalid (PG::UnableToSend: no connection to the server
Answer the question
In order to leave comments, you need to log in
Try to see what happens if you set in the configsconfig.cache_classes = false
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question