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 | 31 |
Tags
- Chunk
- git
- spring
- Effective Java 3/e
- npm
- MySQL
- Node
- JavaScript
- log_bin
- expire_logs_days
- REACTJS
- migration
- REACT
- Effective Java
- nodejs
- Webpack
- regex
- spring cloud
- current_date
- eslint
- Express
- log4j2
- update
- java
- 정규표현식
- mysql 5.5
- upgrade
- 퀵소트
- Spring Batch
- Regular expression
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 |