tomvlk / xaseco2-fork

Fork with patches for XAseco2
0 stars 1 forks source link

Reconnect MySQL after timeout #1

Open codecat opened 8 years ago

codecat commented 8 years ago

MariaDB times out connections and I'm suspecting that Xaseco keeps a single connection open and doesn't care about timeouts:

[XASECO2 Warning] Could not insert/update record! (2006: MySQL server has gone away)
tomvlk commented 8 years ago

XAseco uses a single connection and not a pool like reconnect structure. Also because XAseco is using the deprecated mysql_* functions.

tomvlk commented 8 years ago

The fork contains the upgrade to MySQLi extensions. Can be fixed maybe..