kutt icon indicating copy to clipboard operation
kutt copied to clipboard

Support MySQL with SSL enabled.

Open axot opened this issue 7 months ago • 0 comments

Hi team, I encountered an issue while configuring DB_SSL = true. The application failed to connect to the database after enabling this setting. Could you please advise if there are any additional configurations or certificates required to support SSL connections?

TypeError: SSL profile must be an object, instead it's a boolean
    at new ConnectionConfig (/kutt/node_modules/mysql2/lib/connection_config.js:158:15)
    at Object.createConnection (/kutt/node_modules/mysql2/lib/create_connection.js:7:35)
    at /kutt/node_modules/knex/lib/dialects/mysql/index.js:67:38
    at new Promise (<anonymous>)
    at Client_MySQL2.acquireRawConnection (/kutt/node_modules/knex/lib/dialects/mysql/index.js:66:12)
    at create (/kutt/node_modules/knex/lib/client.js:262:39)

axot avatar May 14 '25 15:05 axot