Got timeout reading communication packets
環境:CentOS release 6.5 (Final),MySQL:5.7.12
-
11-28T19:20:55.658970+08:00 878538 [Note] Aborted connection 878538 to db: 'xxxx' user: 'oms_rw' host: 'xxx.xx.169.125' (Got timeout reading communication packets)
-
2017-11-28T19:21:31.417245+08:00 878728 [Note] Aborted connection 878728 to db: 'xxxx' user: 'oms_rw' host: 'xxx.xx.165.95' (Got timeout reading communication packets)
-
2017-11-28T19:21:31.728802+08:00 878635 [Note] Aborted connection 878635 to db: 'xxxx' user: 'oms_rw' host: 'xxx.xx.165.95' (Got timeout reading communication packets)
-
2017-11-28T19:21:42.780035+08:00 878504 [Note] Aborted connection 878504 to db: 'xxxx' user: 'oms_rw' host: 'xxx.xx.165.95' (Got timeout reading communication packets)
-
2017-11-28T19:21:52.114134+08:00 878279 [Note] Aborted connection 878279 to db: 'xxxx' user: 'oms_rw' host: 'xxx.xx.165.95' (Got timeout reading communication packets)
-
2017-11-28T19:22:12.843467+08:00 878736 [Note] Aborted connection 878736 to db: 'xxxx' user: 'oms_rw' host: 'xxx.xx.165.95' (Got timeout reading communication packets)
-
2017-11-28T19:22:42.750175+08:00 879051 [Note] Aborted connection 879051 to db: 'xxxx' user: 'oms_rw' host: 'xxx.xx.165.95' (Got timeout reading communication packets)
-
2017-11-28T19:22:42.887395+08:00 878825 [Note] Aborted connection 878825 to db: 'xxxx' user: 'oms_rw' host: 'xxx.xx.169.125' (Got timeout reading communication packets)
-
2017-11-28T19:23:21.989617+08:00 879318 [Note] Aborted connection 879318 to db: 'xxxx' user: 'oms_rw' host: 'xxx.xx.165.95' (Got timeout reading communication packets)
-
2017-11-28T19:23:42.769896+08:00 879407 [Note] Aborted connection 879407 to db: 'xxxx' user: 'oms_rw' host: 'xxx.xx.165.95' (Got timeout reading communication packets)
-
2017-11-28T19:23:42.870136+08:00 879454 [Note] Aborted connection 879454 to db: 'xxxx' user: 'oms_rw' host: 'xxx.xx.169.125' (Got timeout reading communication packets)
-
2017-11-28T19:23:52.125260+08:00 879071 [Note] Aborted connection 879071 to db: 'xxxx' user: 'oms_rw' host: 'xxx.xx.165.95' (Got timeout reading communication packets)
-
2017-11-28T19:23:55.656959+08:00 879511 [Note] Aborted connection 879511 to db: 'xxxx' user: 'oms_rw' host: 'xxx.xx.56.98' (Got timeout reading communication packets)
- 2017-11-28T19:24:12.842803+08:00 879537 [Note] Aborted connection 879537 to db: 'xxxx' user: 'oms_rw' host: 'xxx.xx.169.125' (Got timeout reading communication packets)
-
mysql> show global variables like '%log_warning%';
-
+---------------+-------+
-
| Variable_name | Value |
-
+---------------+-------+
-
| log_warnings | 2 |
-
+---------------+-------+
- 1 row in set (0.00 sec)
log_warnings is enabled by default (the default is 1 before MySQL 5.7.2, 2 as of 5.7.2). To disable it, set it to 0. If the value is greater than 0, the server logs messages about statements that are unsafe for statement-based logging. If the value is greater than 1, the server logs aborted connections and access-denied errors for new connection attempts. See Section B.5.2.10, “Communication Errors and Aborted Connections”.
恰恰我這邊設定的為2,把它修改為1:
- set global log_warnings=1;
最後要注意的是log_warnings在未來的版本中會棄用,由另一個引數log_error_verbosity替代。
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/20893244/viewspace-2147893/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- MySQL ERROR Got an error reading communication packetsMySqlErrorGo
- Percona MySQL 日誌中出現大量Aborted connection (Got an error reading)MySqlGoError
- Got fatal error 1236 from master when reading data from binary logGoErrorAST
- MySQL主從複製報錯:Got fatal error 1236 from master when reading data fromMySqlGoErrorAST
- MySQL複製環境Slave報錯"Got fatal error 1236 from master when reading data"MySqlGoErrorAST
- Lost connection to MySQL server at ‘reading initial communication packet', system error: 0 mysql遠端連線問題MySqlServerError
- MySQL案例09:Last_IO_Error: Got fatal error 1236 from master when reading data from binary logMySqlASTErrorGo
- free batches of packets in tcp_prune_ofo_queue()BATTCP
- Wireless Communication ProjectProject
- She Got her ownGo
- MySQL報錯:Packets larger than max_allowed_packet are not allMySql
- mysqldump Got error: 1045MySqlGoError
- mysqld got signal 8MySqlGo
- reading input to shell
- error:slave communication error with ASMErrorASM
- Macromedia Flash Communication Server MXMacServer
- ERROR: slave communication error with ASMErrorASM
- mysql timeoutMySql
- Database TimeoutDatabase
- mysqldump Got error 1290MySqlGoError
- BraTs literature reading(Lee)
- Redis Reading NotesRedis
- SQLNET.RECV_TIMEOUT & SQLNET.SEND_TIMEOUTSQL
- mysql的wait_timeout和interactive_timeoutMySqlAI
- LINUX inner-process communicationLinux
- 通訊機制 synchronous communication
- MySQL Timeout解析MySql
- 【MySQL】淺析interactive_timeout和wait_timeoutMySqlAI
- You've got to find what you loveGo
- 14-Architecture-Master-Node CommunicationAST
- [翻譯]通訊模式(Communication Patterns)模式
- Communication Complexity of Convex Optimization
- Understanding Windows Communication Foundation ExtensibilityWindows
- 《Windows Communication Foundation之旅》系列之三Windows
- MySQL之wait_timeout和interactive_timeout引數MySqlAI
- Timeout expired. The timeout period elapsed prior to completion of the operation or the server is noServer
- 鎖:innodb_lock_wait_timeout和 innodb_rollback_on_timeout?AI
- Mysql引數解釋---wait_timeout、interactive_timeoutMySqlAI