Where can I change "max_allowed_packet" for MySQL?

Avatar
  • Answered
I'm trying to upload some files larger than 5Meg to Tiki Wiki CMS. Tiki uses MySQL. So I added "max_allowed_packet=128M" to "my.cnf" (reference http://tinyurl.com/c9ol9za ) but MySQL still reports that "max_allowed_packet=5M". So where do I change max_allowed_packet so it takes in MySQL?
Avatar
-2
Arn
Hello AlexCampean, You will most likely have to actually the local php.ini file. You will not be able to change the CNF file specific to the server since you're on a Shared server. The change you're looking for will need to made in PHP.INI, though. Check out this article - you will see the section for max upload: Update Local PHP Settings If you have any further questions, please contact technical support or leave a comment at the bottom of the page. Regards, Arnel C.