I am using MySQL version 5.1.66. I saw that the [long\_query\_time](http://dev.mysql.com/doc/refman/5.1/en/server-system-variables.html#sysvar_long_query_time) variable is dynamic, but when I tried 

```
set GLOBAL long_query_time=1; 

```

After the above operation again I tried

```
mysql> show variables like 'long_query_time';
+-----------------+-----------+
| Variable_name   | Value     |
+-----------------+-----------+
| long_query_time | 10.000000 |
+-----------------+-----------+
1 row in set (0.00 sec)

```

From the mysql console it is not getting altered , why?