Analog adlı üyeden alıntı:
mesajı görüntüle
Denendi aynı sonuç maalesef
14
●316
const sequelize = new Sequelize({
dialectOptions: {
socketPath: 'mysql.sock dosyasının bulunduğu dizin',
},
pool: {
max: 100,
min: 0,
acquire: 1000000,
idle: 100000,
evict: 2000,
},
logging: false,
define: {
timestamps: false,
},
});bu şekilde bi deneyin.Error: Dialect needs to be explicitly supplied as of v4.0.0
at new Sequelize (/home/siteadresi/nodevenv/public_html/airdrops/16/lib/node_modules/sequelize/lib/sequelize.js:136:13)
at Object.<anonymous> (/home/siteadresi/public_html/airdrops/app.js:23:19)
at Module._compile (node:internal/modules/cjs/loader:1198:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1252:10)
at Module.load (node:internal/modules/cjs/loader:1076:32)
at Function.Module._load (node:internal/modules/cjs/loader:911:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
at node:internal/main/run_main_module:22:47