@babystack/mysql
v0.1.0
Published
babystack real-MySQL engine adapter — provision, build a seeded mysqldump baseline, hand each worker a fresh leased database.
Readme
@babystack/mysql
The real-MySQL engine adapter for babystack.
It orchestrates an actual mysql:8.4 container via Docker — never an emulator — and owns the MySQL
lifecycle: provision → authenticated wait-ready → build a seeded mysqldump baseline (in a scrubbed env) →
hand out fresh per-worker leased databases loaded from that baseline → dispose. The baseline is
checksum-verified before every load, so a corrupt or stale cache fails loud rather than serving wrong seed.
You normally don't use this directly — @babystack/vitest and the baby CLI drive it for you. Install it
alongside the wedge:
pnpm add -D @babystack/vitest # one package — @babystack/mysql comes transitivelyFor setup and the full lifecycle, see the babystack repository. Licensed Apache-2.0.
