How to avoid too many connections error in mode mysql2

后端 未结 0 758
鱼传尺愫
鱼传尺愫 2021-01-15 03:44

pool.js

import mysql from \'mysql2\' import { dbusername, dbpassword, dbname, host } from \'./config\'

const pool = mysql.createPool({ host: host, user: dbuser

相关标签:
回答
  • 消灭零回复
提交回复
热议问题