MySQL错误日志出现大量的 Got an error reading communication packets 报错

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/webnum/article/details/85089167

MySQL错误日志出现大量的 Got an error reading communication packets 报错

将log_warnings参数设为1

mysql> select @@log_warnings;
+----------------+
| @@log_warnings |
+----------------+
|              2 |
+----------------+
1 row in set


将log_warnings参数设为1

mysql> set global log_warnings=1;

Query OK, 0 rows affected

mysql> select @@log_warnings;
+----------------+
| @@log_warnings |
+----------------+
|              1 |
+----------------+
1 row in set

mysql> 

猜你喜欢

转载自blog.csdn.net/webnum/article/details/85089167