@zintrust/db-mysql
v0.1.27
Published
MySQL / MariaDB database adapter package for ZinTrust (uses `mysql2`).
Readme
@zintrust/db-mysql
MySQL / MariaDB database adapter package for ZinTrust (uses mysql2).
Install
Recommended:
zin add db:mysqlOr install directly:
npm i @zintrust/db-mysql mysql2Usage
Register the adapter at startup:
import '@zintrust/db-mysql/register';Then select the adapter in your config/env (the registered driver key is mysql):
DB_CONNECTION=mysqlDocs
- https://zintrust.com/adapters
- https://zintrust.com/database-advanced
License
This package and its dependencies are MIT licensed, permitting free commercial use.
