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