[ AWS ] [Warning] Aborted connection xxx to db: '<database name>' user: '<user name>' host: '<host IP>' (Got an error reading communication packets)
[Warning] Aborted connection xxx to db: '<database name>' user: '<user name>' host: '<host IP>' (Got an error reading communication packets)
https://repost.aws/knowledge-center/rds-mysql-communication-packet-error
Resolve the communication packets error in Amazon RDS for MySQL
I received a "Got an error reading communication packets" error. I want to resolve this error in an Amazon Relational Database Service (Amazon RDS) for MySQL or Amazon Aurora MySQL-Compatible Editi...
repost.aws
- 클라이언트 또는 드라이버 비호환성
- 유휴 연결을 닫거나 연결을 차단할 수 있는 방화벽 또는 프록시.
- 클라이언트-서버 연결이 잘못 종료되어 RDS for MySQL 내에서 휴면 연결 수가 많아졌습니다.
- 연결을 부적절하게 종료하는 클라이언트 애플리케이션입니다. 연결이 일정 시간 동안 유휴 상태로 유지되면 MySQL은 해당 연결을 강제로 닫습니다. 그러면 중단된 연결 메시지가 표시됩니다.
- wait_timeout 또는 Interactive_timeout 임계값을 초과하는 유휴 연결입니다 .
- 연결 패킷을 얻을 때 connect_timeout 초 임계값을 초과하는 클라이언트 연결입니다 .
- net_write_timeout 및 net_read_timeout 과 같은 매개변수의 값이 충분하지 않습니다 .
- max_allowed_packet 매개변수 값 이 초과되었습니다. 값이 너무 작거나 쿼리에 MySQL용 RDS에 할당된 것보다 더 많은 메모리가 필요한 경우 중단된 연결 경고가 트리거됩니다.
파라미터 수정
max_allowed_packet
connect_timeout
wait_timeout
추가링크
https://dev.mysql.com/doc/refman/8.0/en/communication-errors.html
MySQL :: MySQL 8.0 Reference Manual :: B.3.2.9 Communication Errors and Aborted Connections
B.3.2.9 Communication Errors and Aborted Connections If connection problems occur such as communication errors or aborted connections, use these sources of information to diagnose problems: If the log_error_verbosity system variable is set to 3, you might
dev.mysql.com
Aborted connection (Got an error reading communication packets) MySQL on Amazon RDS
I'm getting the following warning in MySQL: Aborted connection (Got an error reading communication packets) I'm using Amazon RDS for MySQL hosting. Both MyISAM and InnoDB storage engines are us...
dba.stackexchange.com