Search Engine: Elastic

Article ID: 126517, created on Aug 11, 2015, last review on Aug 11, 2015

  • Applies to:
  • Plesk Automation 11.5


How to set max_allowed_packet size for MySQL?


Follow the steps below to achieve the goal:

MySQL server for Linux:

  1. Login to Linux Service node by SSH and set the max_allowed_packet value in /etc/my.cnf file:

    vi /etc/my.cnf
  2. Restart MySQL service:

    # /etc/init.d/mysqld restart
    Stopping mysqld:                                           [  OK  ]
    Starting mysqld:                                           [  OK  ]

MySQL server for Windows:

Login to Windows Server via RDP and correct the same value in my.ini configuration file (location depends on MySQL server installation path), restart MySQL service after that.

33a70544d00d562bbc5b17762c4ed2b3 caea8340e2d186a540518d08602aa065 e0aff7830fa22f92062ee4db78133079

Email subscription for changes to this article
Save as PDF