When connector is installed with npm i [email protected] AWS lambda permits connection to RDS (MariaDB) with minimal config:
const pool = mariadb.createPool({
host: 'someHostName',
user: 'someuser',
database: 'someDB',
password: 12345
connectionLimit: 5,
port: 3306
});
Yet when installed with npm i [email protected] (and any subsequent later release) the connection just hangs with:
{
"name": "SqlError",
"sqlMessage": "retrieve connection from pool timeout after 10000ms\n (pool connections: active=0 idle=0 limit=5)",
"sql": null,
"fatal": false,
"errno": 45028,
"sqlState": "HY000",
"code": "ER_GET_CONNECTION_TIMEOUT"
}
The release notes mention only:
- Binary Result-Set Parsing Improvements (CONJS-262):
- New Option for infileStreamFactory (CONJS-266):
Neither of these appear to constitute such a breaking change? I assume there is another undocumented (unintended?) breaking change that needs to be understood and documented?