Nodejs mysql2 not throwing connection or query error

后端 未结 0 1428
醉梦人生
醉梦人生 2021-01-24 19:00

I am trying to capture connection error on nodejs while using mysql or mysql2 node module. My code is

    console.log("Connecting to database")
    try{         


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