cperko

Any way to refresh database connection in code?

Posted 11 months ago by cperko

We are having an issue every once in a while in which the database connection goes down. We can catch the exception, and would ideally like to force it to reconnect. Currently, the only way we know how to fix it is to restart Apache.

Please sign in or create an account to participate in this conversation.

Laracasts Mascot

Hi, Have We Met Yet?

Did you know that, in addition to the forum, Laracasts includes well over 1000 lessons on modern web development? All for the price of one lunch out per month.

Sign Me Up

Channels

Reply to

Use Markdown with GitHub-flavored code blocks.