Notice
Recent Posts
Recent Comments
Link
250x250
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 |
Tags
- Spring Batch
- Effective Java 3/e
- regex
- 퀵소트
- expire_logs_days
- 정규표현식
- log_bin
- spring cloud
- JavaScript
- Node
- REACT
- npm
- nodejs
- current_date
- git
- update
- Regular expression
- mysql 5.5
- Express
- log4j2
- Webpack
- Effective Java
- eslint
- upgrade
- REACTJS
- Chunk
- migration
- MySQL
- spring
- java
Archives
- Today
- Total
내 세상
[NodeJS] MySQL2 Error: Can't add new command when connection is in closed state. 해결 본문
Technical/NodeJS
[NodeJS] MySQL2 Error: Can't add new command when connection is in closed state. 해결
sga8 2024. 8. 19. 18:34728x90
공식 답변
we should probably make it default option. Currently when remote side closes the socket the client might not see it, see net.setKeepAlive |
AS-IS | TO-BE |
{
"host": "aa.bb.cc.dd,
"port": 100,
"user": "test_user",
"password": "test_password",
"database": "100",
"connectionLimit": 100,
"queueLimit": 0,
"waitForConnections": true,
"dateStrings": "date",
"multipleStatements": true,
"charset": "utf8_general_ci"
}
|
{
"host": "aa.bb.cc.dd",
"port": 100,
"enableKeepAlive":true "user": "test_user",
"password": "test_passvword!",
"database": "100,v
"connectionLimit": 100,
"queueLimit": 0,
"waitForConnections": true,
"dateStrings": "date",
"multipleStatements": true,
"charset": "utf8_general_ci"
}
|
728x90
'Technical > NodeJS' 카테고리의 다른 글
[NestJS] mysql connection pool Cannot read properties of undefined 이슈 조치 (0) | 2024.07.04 |
---|---|
[NodeJS] Material-React-Table 사용법 (0) | 2024.03.06 |
[NodeJS] 이유를 알 수 없는 오류 process is not defined (0) | 2024.02.22 |
[NodeJS] Package 비교, node-redis VS ioredis (0) | 2024.02.20 |
[NodeJS] CentOS 7 환경 NodeJS Offline 설치 (0) | 2024.02.16 |