This package is meant to be used with Weenie. However, if you are not using
Weenie but are interested in this functionality, there's nothing wrong with using it directly. That said, in this case,
it is nothing more than a wrapper around @wymp/simple-db-mysql
(which itself is a wrapper around [`mysql2](https://npmjs.com/package/mysql2).)
Config options are mysql2::PoolOptions
. Most of these are documented
here (these are the base mysql connection options), and the
remainder are here.
The most common config options are these:
const config = {
mysql: {
host: 'localhost',
port: 3306,
user: 'your-user',
password: 'your-password',
database: 'my-database',
}
}
Generated using TypeDoc