nodejs的mysql模块学习(八)关闭连接池时间:2023-03-08 22:37:31关闭连接池 可以用pool.end()关闭连接池 pool.end(function (err) { // 所有的连接都已经被关闭 }); 当关闭之后pool将不可以getconnection()