Search by

windwalker / database

asika32764

Windwalker Database package

Package info

github.com/windwalker-io/database

Type:windwalker-package

pkg:composer/windwalker/database

Statistics

Installs: 20 779

Dependents: 9

Suggesters: 1

Stars: 3

4.2.11 2026-11-24 08:20 UTC

README


Windwalker

Database

Windwalker Database package

GitHub GitHub Workflow Status Packagist Downloads Packagist Version

Installation

composer require windwalker/database ^4.0

Lost connections

AbstractDriver::useConnection() reconnects and retries its callback once when execution reports a lost connection. Detection includes MySQL gone-away/lost- connection errors, timeouts, connection reset by peer, unexpectedly closed server/SSL connections, communication-link failures, and query-packet send errors. Initial connection failures, failed reconnects, and failed retries propagate to the caller; this is not an unlimited retry loop.

The callback can execute SQL again. A disconnect does not restore a transaction, and retrying a write after an ambiguous response can duplicate effects. Callers must handle failed operations and use idempotent writes where necessary.

Resources