diff --git a/lerna.json b/lerna.json index 1673559ee9..a57875986a 100644 --- a/lerna.json +++ b/lerna.json @@ -1,5 +1,5 @@ { - "version": "2.10.9-alpha.2", + "version": "2.10.9-alpha.3", "npmClient": "yarn", "packages": [ "packages/*" diff --git a/packages/server/src/integrations/mysql.ts b/packages/server/src/integrations/mysql.ts index b88162c59a..8a688c5f3b 100644 --- a/packages/server/src/integrations/mysql.ts +++ b/packages/server/src/integrations/mysql.ts @@ -158,6 +158,12 @@ class MySQLIntegration extends Sql implements DatasourcePlus { ) { config.ssl.rejectUnauthorized = config.rejectUnauthorized } + // The MySQL library we use doesn't directly document the parameters that can be passed in the ssl + // object, it instead points to an older library that it says it is mostly API compatible with, that + // older library actually documents what parameters can be passed in the ssl object. + // https://github.com/sidorares/node-mysql2#api-and-configuration + // https://github.com/mysqljs/mysql#ssl-options + // @ts-ignore delete config.rejectUnauthorized this.config = {