Node.js/MySQL pool.getConnection() returns “undefined” instead of the connection

前端 未结 0 1541
闹比i
闹比i 2021-02-20 14:53

I\'m using Node.js/MySQL pool created as follows:

const mysql = require("mysql");
require(\'dotenv\').config();
const pool = mysql.createPool({
  host:          


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