title: osx mariaDB how to set max_allowed_packet
body: <p>I am trying to set 'max_allowed_packet' in 'my.cnf' which on my iMac is located in:</p>
  
  <pre><code>    /usr/local/etc/
  </code></pre>
  
  <p>I've tried:</p>
  
  <pre><code>    SET GLOBAL max_allowed_packet=1073741824;
  </code></pre>
  
  <p>I've also tried adding a section:</p>
  
  <pre><code>    [mysqld]
      SET GLOBAL max_allowed_packet=1073741824;
  </code></pre>
  
  <p>But neither have worked such that the setting is carried forward for reboots.  If I open a terminal and enter:</p>
  
  <pre><code>    SET GLOBAL max_allowed_packet=1073741824;
  </code></pre>
  
  <p>Directly into the terminal it works find, but isn't kept on reboot, how do I resolve this?</p>