User-defined variables are connection-specific. That is, a user variable defined by one client cannot be seen or used by other clients. All variables for a given client connection are automatically freed when that client exits.
SET @t1=1, @t2=2, @t3:=4; SELECT @t4 := @t1+@t2+@t3;