| 1 |
RUN SHOW SCHEMAS |
| 2 |
|
| 3 |
Database |
| 4 |
information_schema |
| 5 |
mtr |
| 6 |
mysql |
| 7 |
performance_schema |
| 8 |
sys |
| 9 |
test |
| 10 |
0 rows affected |
| 11 |
Mysqlx.Ok { |
| 12 |
msg: "bye!" |
| 13 |
} |
| 14 |
ok |
| 15 |
SHOW GLOBAL STATUS LIKE 'mysqlx%connections%'; |
| 16 |
Variable_name Value |
| 17 |
Mysqlx_connections_accepted 1 |
| 18 |
Mysqlx_connections_closed 1 |
| 19 |
Mysqlx_connections_rejected 0 |
| 20 |
INSTALL COMPONENT "file://component_mysqlx_global_reset"; |
| 21 |
SELECT mysqlx_reset_global_status_variables(); |
| 22 |
mysqlx_reset_global_status_variables() |
| 23 |
1 |
| 24 |
SHOW GLOBAL STATUS LIKE 'mysqlx%connections%'; |
| 25 |
Variable_name Value |
| 26 |
Mysqlx_connections_accepted 0 |
| 27 |
Mysqlx_connections_closed 0 |
| 28 |
Mysqlx_connections_rejected 0 |
| 29 |
RUN SELECT mysqlx_reset_global_status_variables() |
| 30 |
|
| 31 |
mysqlx_reset_global_status_variables() |
| 32 |
0 |
| 33 |
0 rows affected |
| 34 |
Mysqlx.Ok { |
| 35 |
msg: "bye!" |
| 36 |
} |
| 37 |
ok |
| 38 |
UNINSTALL COMPONENT "file://component_mysqlx_global_reset"; |