안녕하세요. 유헤입니다.
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에 대해 언급하고 있다.
'배우고 있습니다 > Node.js 개발' 카테고리의 다른 글
[Node.js 활용기] 웹크롤링(casperjs/PhantomJS ) for 반복문 (0) | 2018.12.27 |
---|---|
[Node.js 활용기] 웹크롤링(casperjs/PhantomJS )파일 입 출력 (0) | 2018.12.18 |
[node.js 활용기] 웹 크롤링 준비 (2) 에러편 (0) | 2018.12.11 |
[node.js 활용기] 웹 크롤링 준비 (1) 기본편 (0) | 2018.12.11 |
[Node.js 개발일지] node.js에서 curl 처리 (ajax/request) (3) | 2018.12.06 |