Jump to content

Keep database connection open


The Little Guy

Recommended Posts

I have a script that will run for 2+ days, and what I have noticed is that after a large amount of hours (I don't know the exact amount of hours), the mysql database connection closes and I have to restart the script.

 

I start it, then when I wake up the next morning, it doesn't work and I have to restart the script.

 

how can I make the db connection stay open?

Link to comment
https://forums.phpfreaks.com/topic/194662-keep-database-connection-open/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.