使用Sequelize连接MySQL,编写了一个api请求接口,多请求几次后就会报这个错,请教一下是什么原因,最近在学Sequelize,怎么这些model定义成公用的模块啊 Fatal SequelizeDatabaseError: read ECONNRESET at Query.formatError (f:\projects\yantubao\node_modules\sequelize\lib\dialects\mysql\query.js:161:14) at Query._callback (f:\projects\yantubao\node_modules\sequelize\lib\dialects\mysql\query.js:36:21) at Query.Sequence.end (f:\projects\yantubao\node_modules\mysql\lib\protocol\sequences\Sequence.js:96:24) at Protocol.handleNetworkError (f:\projects\yantubao\node_modules\mysql\lib\protocol\Protocol.js:364:14) at Connection._handleNetworkError (f:\projects\yantubao\node_modules\mysql\lib\Connection.js:384:18) at emitOne (events.js:77:13) at Socket.emit (events.js:169:7) at emitErrorNT (net.js:1257:8) at doNTCallback2 (node.js:441:9) at process._tickCallback (node.js:355:17)
有没有大神使用Sequelize连接MySQL啊,请教一下