배우고 있습니다/Node.js 개발
[Node.js 개발일지] Connection lost: The server closed the connection. 에러 처리
유헤
2018. 12. 14. 09:46
안녕하세요. 유헤입니다.
Node.js 를 기동하고 ( node example.js 등 ), 일정 시간이 지나면
Connection lost: The server closed the connection. 와 같은 에러를 뜨면서
node 가 자동 종료 되는 현상이 있었습니다.
Error: Connection lost: The server closed the connection.
http://junho85.pe.kr/1151
https://code.i-harness.com/ko-kr/q/134635a
사이트를 조사해보니, https://www.npmjs.com/package/mysql 에서 error handling에 대해 언급하고 있다.