| 1 |
SET @mysqlx_connect_timeout_sav= @@global.mysqlx_connect_timeout; |
| 2 |
SET GLOBAL mysqlx_connect_timeout=20; |
| 3 |
SET @@global.mysqlx_connect_timeout=500; |
| 4 |
show variables like 'mysqlx_connect_timeout'; |
| 5 |
Variable_name Value |
| 6 |
mysqlx_connect_timeout 500 |
| 7 |
SET mysqlx_connect_timeout=20; |
| 8 |
ERROR HY000: Variable 'mysqlx_connect_timeout' is a GLOBAL variable and should be set with SET GLOBAL |
| 9 |
SET @@local.mysqlx_connect_timeout=20; |
| 10 |
ERROR HY000: Variable 'mysqlx_connect_timeout' is a GLOBAL variable and should be set with SET GLOBAL |
| 11 |
SET @@mysqlx_connect_timeout=20; |
| 12 |
ERROR HY000: Variable 'mysqlx_connect_timeout' is a GLOBAL variable and should be set with SET GLOBAL |
| 13 |
SET @@session.mysqlx_connect_timeout=20; |
| 14 |
ERROR HY000: Variable 'mysqlx_connect_timeout' is a GLOBAL variable and should be set with SET GLOBAL |
| 15 |
SET SESSION mysqlx_connect_timeout=20; |
| 16 |
ERROR HY000: Variable 'mysqlx_connect_timeout' is a GLOBAL variable and should be set with SET GLOBAL |
| 17 |
SET GLOBAL mysqlx_connect_timeout=0; |
| 18 |
Warnings: |
| 19 |
Warning 1292 Truncated incorrect mysqlx_connect_timeout value: '0' |
| 20 |
SET GLOBAL mysqlx_connect_timeout=1; |
| 21 |
SET GLOBAL mysqlx_connect_timeout=-4686234; |
| 22 |
Warnings: |
| 23 |
Warning 1292 Truncated incorrect mysqlx_connect_timeout value: '-4686234' |
| 24 |
SET GLOBAL mysqlx_connect_timeout='gduges7'; |
| 25 |
ERROR 42000: Incorrect argument type to variable 'mysqlx_connect_timeout' |
| 26 |
show variables like 'mysqlx_connect_timeout'; |
| 27 |
Variable_name Value |
| 28 |
mysqlx_connect_timeout 1 |
| 29 |
SET GLOBAL mysqlx_connect_timeout=300; |
| 30 |
SET @@global.mysqlx_connect_timeout= @mysqlx_connect_timeout_sav; |