title: Cannot set a global variable on MySQL
body: <p>I'm using MySQL in localhost (in ubuntu and also in windows). I want to set a global variable, and I have tried in all ways but even though I get an &quot;ok&quot; message from mysql, then when I do the &quot;select @var&quot; it allways says &quot;NULL&quot;.
  I've tried:</p>
  <pre><code>set global var=17;
  set @global.var=17;
  set @@var=17;
  </code></pre>
  <p>Can anyone help me?</p>
  <p>Thanks in advance.</p>
  <p>ps: I have the SUPER privilege.</p>