• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

how to increase max_allowed_packet?

Sven L.

Regular Pleskian
Hi,

migrating some stuff from 9.5.4 to 11.5 and i get an warning in the migration manager about max_allowed_packet

i have tried to find some information how to increase this limit (seems like it's at 1M and i would like it to be 2-4M) but everything points me to old folders that no longer seem to be relevant.

how can i achieve this in plesk 11.5?
 
Just add

Code:
max_allowed_packet=4M

in your /etc/my.cnf (in [mysqld] section) and then do:

service mysqld restart
(or whatever you need to do to restart MySQL in your Linux flavour)
 
does this change survive through updates or will I have to do that everytime?

Plesk doesn't touch MySQL settings so you are safe there.

Indeed, as a rule of thumb, it doesn't touch any configuration file in /etc/ unless it is necessary in order to achieve what you ask it to do (e.g. /etc/named/* when you add/edit a domain, and similarly with apache).

The design methodology of Plesk is to decouple it as much as possible from OS, so that updates to Plesk have a minimal impact on your system's settings. Of course there are some big changes during installation - just not during updates. (by updates I mean MU installation not full version upgrades, which sometimes have to make bigger changes)
 
Back
Top