I have a server with a MySQL connection that I'd like to be persistent.
I've tried a few different ways to deal with it, and I'm told that "ping()" should reconnect if there's no connection. However, ping() actually gives the same error as other calls.
Does anyone have any suggestions on how to revive connections or some setting I can use to prevent timeouts.