• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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