• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

MySQL max_allowed_packet Prevent Upload

S

SBCTEC

Guest
MySQL 3.23.58 is installed on my plesk server and I'm trying to create a page to upload a zip file to a blob field in the database. When running, the max_allowed_packet is set to 1048576. All documentation shows that I can change /etc/my.cnf to allow for a 16M value, but when I change that file under the [safe_mysqld] header, nothing happens. Under any other header, the mysqld service fails to start. I've also tried setting the system variable during runtime and that doesn't seem to work either. What am I missing?
 
It would be under the [mysqld] section, and it would look something like...

set-variable = max_allowed_packet=16M
 
Back
Top