Configure Mysql, my.cnf??

I’m trying to find the corresponding mysql configuration file, but I can not find it anywhere.
In the own installation has another name?
I want to modify the max_allowed_packet parameter so that when it is restarted it is not modified, can it be modified ??

Hi everyone,

I have almost the same question here: Where is the “my.cnf” file located on my WD MyCloud EX2 Ultra? There is no such file under “etc/”. Is it located somewhere elso, or is the filename “my.conf” or “my.ini”?

In this post and that post from 2015 and 2017 people face the same issue, so an answer could improve many peoples lives.

Thank you in advance for your help.

Best,
Joe