調整mysql的max_allowed_packet

  • 700
  • 0

因為要簡單測試SonarQube,需要安裝mysql,因此直接採用了docker上的mysql 

但在執行SonarQube scanner時發生了錯誤

Caused by: com.mysql.jdbc.PacketTooBigException: Packet for query is too large (10507322 > 4194304). You can change this value on the server by setting the max_allowed_packet' variable.
 

...繼續閱讀 »