Bug #8304 User variables no respencted
Submitted: 3 Feb 2005 23:41 Modified: 4 Feb 2005 6:45
Reporter: [ name withheld ] Email Updates:
Status: Not a Bug Impact on me:
None 
Category:MySQL Query Browser Severity:S3 (Non-critical)
Version:1.1.5 OS:Linux (Linux/Debian)
Assigned to: CPU Architecture:Any

[3 Feb 2005 23:41] [ name withheld ]
Description:
User variables are cleared between query statements

How to repeat:
SELECT @v:=10
SELECT @v
[4 Feb 2005 6:45] MySQL Verification Team
Hi,

Thank you for the report, but this is really not a bug. MySQL Query Browser opens new connection for each query executed via query window.
If you want to use user variables, just do it in a script.
[30 Sep 2008 18:50] Valeriy Kravchuk
Bug #39760 was marked as a duplicate of this one.