josephg / josephg/ShareJS

[mysql] Version 0.6.0: Error: Connection lost: The server closed the connection.

Open
#183 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
5k
Forks
454
PR merge metrics
No merged PRs in 30d

Description

server running at http://localhost:8000
An error has occurred. Please file a ticket here: https://github.com/josephg/ShareJS/issues
Version 0.6.0: Error: Connection lost: The server closed the connection.
at Protocol.end (~/node-app/ShareJS/node_modules/mysql/lib/protocol/Protocol.js:72:13)
at Socket.onend (stream.js:66:10)
at Socket.EventEmitter.emit (events.js:126:20)
at TCP.onread (net.js:418:51)

Happening with long running server. Found some links which talk about handling this. Am not a coffeescript expert. Appreciated if error handling is supported in the db/mysql.coffee script

https://github.com/felixge/node-mysql/commit/e5b6e1b

or implement pooling support in mysql

https://github.com/felixge/node-mysql/blob/master/Readme.md#pooling-connections

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.