This functionality allow to enable & configure reconnect functionality using options parameter in adapter.
When you are creating adapter for mysqli:
$adapter = new Adapter([
'driver' => 'Mysqli',
'database' => '',
'username' => '',
'password' => '',
'options' => [
'reconnect_tries' => 3
]
]);
You can specify reconnect_tries and if during your work connect will be lost adapter will try automatically reconnect to server.
Fix for #302
Originally posted by @tptrixtop at zendframework/zend-db#307
This functionality allow to enable & configure reconnect functionality using
optionsparameter in adapter.When you are creating adapter for
mysqli:You can specify
reconnect_triesand if during your work connect will be lost adapter will try automatically reconnect to server.Fix for #302
Originally posted by @tptrixtop at zendframework/zend-db#307