标签:
解决办法,参考:https://github.com/chill117/express-mysql-session/issues/18
我们只需在实例化SessionStore的时候,配置useConnectionPooling: true。比如:
var sessionStore = new SessionStore({ host: ‘localhost‘, port: 3306, user: ‘root‘, password: ‘root‘, database: ‘session‘, useConnectionPooling: true });
Nodejs 连接 mysql时报错 Error: Cannot enqueue Query after fatal error
标签:
原文地址:http://www.cnblogs.com/qianlegeqian/p/4839233.html