Cannot enqueue Handshake after invoking quit

前端 未结 10 2293
小鲜肉
小鲜肉 2020-11-28 02:59

I have implemented the following code:

module.exports = {
    getDataFromUserGps: function(callback)
    {
        connection.connect();
        connection.qu         


        
10条回答
  •  野趣味
    野趣味 (楼主)
    2020-11-28 03:52

    You can use debug: false,

    Example: //mysql connection

    var dbcon1 = mysql.createConnection({
          host: "localhost",
          user: "root",
          password: "",
          database: "node5",
          debug: false,
        });
    

提交回复
热议问题