In my case the reason for this error was very trivial - wrong DB password for the given user.
Unfortunately it was not reported as DB username/password mismatch but with that log error that could lead us to investigate in wrong directions