Project

General

Profile

Actions

Feature #2523

open

MySql Connection Pool - terminated

Added by Anonymous over 10 years ago. Updated over 10 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
12/26/2013
Due date:
% Done:

0%

Estimated time:

Description

Why after some time (propably max idle time for connection in MySql) Session to database gives

something like no connection to database. I think FixedSqlConnectionPool should run sample

query, let's say every one hour to keep connections?

Actions #1

Updated by Koen Deforche over 10 years ago

  • Tracker changed from Support to Feature

Hey,

We weren't aware of the need for this. I agree this would be a welcome feature improvement.

But as a workaround you can set a really high idle connection timeout value in the server configuration?

Regards,

koen

Actions #2

Updated by Wim Dumon over 10 years ago

Note: reconnection mode, as described in http://dev.mysql.com/doc/refman/5.6/en/auto-reconnect.html is already configured in Wt.

So it's a bit weird that the connections don't automatically reconnect, or maybe the reconnect fails?

BR,

Wim.

Actions

Also available in: Atom PDF