Package Exports
- @softrams/nodejs-mysql-connector
- @softrams/nodejs-mysql-connector/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@softrams/nodejs-mysql-connector) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
MySQL DB Connector
Wrapper utility to easily manage multiple data sources and pooled connections.
SSL Settings
This connector allows setting SSL connection using a few different options.
You can provide a custom cert:
SSL: {
CUSTOM_CERT: // custom cert string
}By default, when specifying an SSL object, the mysql connector will reject unauthorized calls by adding rejectUnauthorized: true. You may override this setting by specifying a value for REJECT_UNAUTHORIZED in your SSL config:
SSL: {
REJECT_UNAUTHORIZED: false // not recommended
}