Reconnect to database #16834
Unanswered
DestinyMKas
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I use phalcon 5.9.3 + php 8.4 + cockroachdb over postregsql extension.
I have script which is long running and sometimes stale for 10 minutes. In such moment database connection is lost.
Exception: SQLSTATE[HY000]: General error: 7 no connection to the serverI try to do:
but that doesn't help.
Maybe you have easy solution how to reconnect to database?
Beta Was this translation helpful? Give feedback.
All reactions