Usual fix is to get an adequate host that will optimize their server to run Magento for you.
Magento expects a certain amount of resources.
Disable stuff all you want, the same issues remain for the same reasons.
max_packet_size must be set to a size that Magento finds reasonable. If this isn’t the case, there are a whole load of other MySQL settings that have been set to be “fair” for all users on the server which will crop up later and cause your site to crash.
Magento despises “playing fair” and expects to be first at the table.