Quantcast
Channel: CNode:Node.js专业中文社区
Viewing all articles
Browse latest Browse all 14821

mysql 模块,报了一下错误,有很好的、优雅的解决方法吗?

$
0
0
26|node_pr |     at Object.<anonymous> (/home/vanilla/www/node_server/node_monkey_proxy/app.js:19:22)
26|node_pr | Trace: fatal error: Connection lost: The server closed the connection.
26|node_pr |     at Protocol.clientObj._protocol._delegateError (/home/vanilla/www/node_server/node_monkey_proxy/models/mysql.js:52:21)
26|node_pr |     at Protocol.end (/home/vanilla/www/node_server/node_monkey_proxy/node_modules/mysql/lib/protocol/Protocol.js:113:8)
26|node_pr |     at Socket.<anonymous> (/home/vanilla/www/node_server/node_monkey_proxy/node_modules/mysql/lib/Connection.js:115:28)
26|node_pr |     at emitNone (events.js:91:20)
26|node_pr |     at Socket.emit (events.js:185:7)
26|node_pr |     at endReadableNT (_stream_readable.js:975:12)
26|node_pr |     at _combinedTickCallback (internal/process/next_tick.js:74:11)
26|node_pr |     at process._tickDomainCallback (internal/process/next_tick.js:122:9)

Viewing all articles
Browse latest Browse all 14821

Trending Articles