How to set the value of max_allowed_packet or wait_timeout for MySQL on Plesk server?

Follow

Comments

7 comments

  • Avatar
    Marco Marsala (Edited )

    I increased max_allowed_packet editing the right my.cnf file, and I confirmed using phpMyAdmin that the new value is applying.

    Periodically, max_allowed_packet reset itself to 1024, even lower than MySQL default (that is 4M), crashing the majority of websites relying on MySQL.

    0
    Comment actions Permalink
  • Avatar
    Ivan Postnikov

    @Marco Marsala

    Hello!
    Such behavior is caused by MySQL Bug.

    See also MySQL forum topic regarding this issue.

    0
    Comment actions Permalink
  • Avatar
    Marco Marsala

    @Ivan Postnikov

    This is classified as “not a bug”. The forum topic says that 3rd party software is running a query to reset the value to 1024.

    My code never run such query. The only 3rd party running on the server is Plesk panel.

    Maybe this is a Plesk issue?

    0
    Comment actions Permalink
  • Avatar
    Ivan Postnikov

    @Marco Marsala

    Hello!
    In this case, I would suggest submitting a ticket for Plesk Technical Support, as more detailed investigation is required.

    0
    Comment actions Permalink
  • Avatar
    DHH-SI

    Should Screenshot for Windows Plesk be updated so thick would be on "SQL Server" group or "MySQL56" service and not on "Plesk SQL Server"?

    0
    Comment actions Permalink
  • Avatar
    Alexander Tsmokalyuk

    @Almir The article has been updated, thank you!

    0
    Comment actions Permalink
  • Avatar
    Willy Cevallos

    Thank you

    0
    Comment actions Permalink

Please sign in to leave a comment.

Have more questions? Submit a request