Failed to connect to mariadb

Viewed 19

I tried to connect to mariadb from my computer, but it failed with the following error message.

SqlError: (conn=-1, no: 45028, SQLState: HY000) retrieve connection from pool timeout after 10001ms
     (pool connections: active=0 idle=0 limit=5)
     connection error: Error during pool initialization: (conn=504, no: 45044, SQLState: 08S01) RSA public key is not available client side. Either set option `cachingRsaPublicKey` to indicate public key path, or allow public key retrieval with option `allowPublicKeyRetrieval`
     at Object.module.exports.createError (/Users/choijinsu/Documents/vrillar/dhm-front/node_modules/mariadb/lib/misc/errors.js:57:10)
     at Pool._requestTimeoutHandler (/Users/choijinsu/Documents/vrillar/dhm-front/node_modules/mariadb/lib/pool.js:345:26)
     at listOnTimeout (node:internal/timers:559:17)
     at processTimers (node:internal/timers:502:7) {
   text: 'retrieve connection from pool timeout after 10001ms\n' +
     '    (pool connections: active=0 idle=0 limit=5)',
   sql: null,
   fatal: false,
   errno: 45028,
   sqlState: 'HY000',
   code: 'ER_GET_CONNECTION_TIMEOUT'
 }
0 Answers
Related