I have mysql 8 installed on Ubuntu and when I do:
SET @test := 'test'; SELECT @test;
Then I have error:
SQL Error [1064] [42000]: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'SELECT @test' at line 1
Why? Should I set something special in mysql configuration?