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 "ok" message from mysql, then when I do the "select @var" it allways says "NULL". I've tried:
set global var=17;
set @global.var=17;
set @@var=17;
Can anyone help me?
Thanks in advance.
ps: I have the SUPER privilege.