I'm using Percona MySQL server 5.7 and after a while my max_allowed_packet change to 1024 bytes and I don't know who or what application changes it.
I've set it in config file and after restart it sets fine: [mysqld] max_allowed_packet=100M
But after a while (few days later), my application throws error while inserting long text, it changed to 1024 bytes. I check it with: SHOW variable LIKE 'max_allowed_packet'
Is it possible to log only variable changes to know who changed it when?