![Not setting max_allowed_packet in MySQL according to installation requirements can lead to PDOException: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away [#984112] | Drupal.org Not setting max_allowed_packet in MySQL according to installation requirements can lead to PDOException: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away [#984112] | Drupal.org](https://www.drupal.org/files/issues/2020-08-20/Screenshot%20at%20Aug%2020%2019-59-17_0.png)
Not setting max_allowed_packet in MySQL according to installation requirements can lead to PDOException: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away [#984112] | Drupal.org
![Got a packet bigger than 'max_allowed_packet' bytes,cpp mysql insert multiple values and exceed maximum capacity - Fred1987 - 博客园 Got a packet bigger than 'max_allowed_packet' bytes,cpp mysql insert multiple values and exceed maximum capacity - Fred1987 - 博客园](https://img2023.cnblogs.com/blog/947244/202212/947244-20221204164438779-651704344.png)
Got a packet bigger than 'max_allowed_packet' bytes,cpp mysql insert multiple values and exceed maximum capacity - Fred1987 - 博客园
![How to resolve a "max_allowed_packet" error when connecting PyCharm to a remote MySQL db via SSH? - Stack Overflow How to resolve a "max_allowed_packet" error when connecting PyCharm to a remote MySQL db via SSH? - Stack Overflow](https://i.stack.imgur.com/YqLbm.png)