Error message:
2020-04-17 08:43:28,810 [http-nio-443-exec-8] ERROR [org.hibernate.engine.jdbc.spi.SqlExceptionHelper] - Packet for query is too large (1673 > 1024). You can change this value on the server by setting the max_allowed_packet' variable.
When the query data is relatively large, it will be transmitted in the network. If it exceeds the default value, the above error will be reported.
Solution, find the mysql configuration file.my.ini, add the following configuration under [mysqld]
max_allowed_packet = 100M
query_cache_limit = 40M
Reprinted from: https://blog.csdn.net/xiaoping0915/article/details/64587042