You can optionally pass a few additional parameters supported by node-mysql, most particularly password and collation. Collation currently defaults to utf8mb4_general_ci. The collation value will also be used to derive the connection charset.

waitForConnections: Determines the pool's action when no connections are available and the limit has been reached. If true, the pool will queue the connection request and call it when one becomes available. If false, the pool will immediately call back with an error. (Default: true)

connectionLimit: The maximum number of connections to create at once.(Default: 10)

queueLimit: The maximum number of connection requests the pool will queue before returning an error from getConnection. If set to 0, there is no limit to the number of queued connection requests. (Default: 0)