Closed gunsela92 closed 1 year ago
As error indicate 'Connection timeout: failed to create socket after 1010ms', this correspond to connection timeout: option connectTimeout defaulting to 1000ms.
Option is set on sequelize, but not using direct connection
const connection = await mariadb.createConnection({
host: host,
port: port,
user: user,
password: password,
database: database,
connectTimeout: 1000,
multipleStatements: true,
});
1000ms is quite a big time by default to create a connection, It's strange that you are facing this type of problem.
sorry for late answer.
closing issue, since this is not a bug, but documentation link request
Im using sequelize. Sometimes im getting this error i dont know why. How can i increase the timeout ?
My code ;