Issue Bug Closed

#69289Reestablish DB connection for long running scripts

Helmut Hummel 08/24/15, 15:31 updated 10/02/18, 11:34

Description

Instead of manually reconnecting in scheduler make the reconnection
transparent on every query if “mysql server has gone away” occurs by
introducing a new method executeLinkMethod().

  • isConnected() no longer executes anything but just returns the state
  • do not pass $this->link around
  • fixed a query using quotes to single quotes

Reviews 3