mysql Warning


#1
[Warning] Aborted connection 36 to db: 'seafile_db' user: 'seafile' host: '172.25.1.1' (Got an error reading communication packets)

如何修复该问题?


#2

有没有开启error_log,如果有可以看一下 ,这个大多都是连接太多的问题


#3

docker-compose 方式,默认日志是写到 stdout/stderr 的吧?

只有这样一条日志,没看到其他相关信息。

2021-11-05  9:07:12 12806 [Warning] Aborted connection 12806 to db: 'seafile_db' user: 'seafile' host: '172.20.0.5' (Got an error reading communication packets)
2021-11-05  9:09:16 12811 [Warning] Aborted connection 12811 to db: 'seafile_db' user: 'seafile' host: '172.20.0.5' (Got an error reading communication packets)
2021-11-05  9:14:18 12820 [Warning] Aborted connection 12820 to db: 'seafile_db' user: 'seafile' host: '172.20.0.5' (Got an error reading communication packets)
2021-11-05  9:17:12 12827 [Warning] Aborted connection 12827 to db: 'seafile_db' user: 'seafile' host: '172.20.0.5' (Got an error reading communication packets)
2021-11-05  9:19:20 12832 [Warning] Aborted connection 12832 to db: 'seafile_db' user: 'seafile' host: '172.20.0.5' (Got an error reading communication packets)
2021-11-05  9:24:21 12843 [Warning] Aborted connection 12843 to db: 'seafile_db' user: 'seafile' host: '172.20.0.5' (Got an error reading communication packets)
2021-11-05  9:27:12 12847 [Warning] Aborted connection 12847 to db: 'seafile_db' user: 'seafile' host: '172.20.0.5' (Got an error reading communication packets)
2021-11-05  9:29:23 12853 [Warning] Aborted connection 12853 to db: 'seafile_db' user: 'seafile' host: '172.20.0.5' (Got an error reading communication packets)
2021-11-05  9:34:25 12864 [Warning] Aborted connection 12864 to db: 'seafile_db' user: 'seafile' host: '172.20.0.5' (Got an error reading communication packets)
2021-11-05  9:37:08 12871 [Warning] Aborted connection 12871 to db: 'seafile_db' user: 'seafile' host: '172.20.0.5' (Got an error reading communication packets)
2021-11-05  9:37:12 12876 [Warning] Aborted connection 12876 to db: 'seafile_db' user: 'seafile' host: '172.20.0.5' (Got an error reading communication packets)
2021-11-05  9:39:27 12882 [Warning] Aborted connection 12882 to db: 'seafile_db' user: 'seafile' host: '172.20.0.5' (Got an error reading communication packets)
2021-11-05  9:44:29 12891 [Warning] Aborted connection 12891 to db: 'seafile_db' user: 'seafile' host: '172.20.0.5' (Got an error reading communication packets)
2021-11-05  9:47:12 12897 [Warning] Aborted connection 12897 to db: 'seafile_db' user: 'seafile' host: '172.20.0.5' (Got an error reading communication packets)
2021-11-05  9:49:31 12903 [Warning] Aborted connection 12903 to db: 'seafile_db' user: 'seafile' host: '172.20.0.5' (Got an error reading communication packets)
2021-11-05  9:54:33 12914 [Warning] Aborted connection 12914 to db: 'seafile_db' user: 'seafile' host: '172.20.0.5' (Got an error reading communication packets)