问题

软件 >> MySQL
Questions in category: MySQL (MySQL).

MySQL 中的会话变量(session variables)

Posted by haifeng on 2020-11-10 11:04:46 last update 2020-11-10 11:06:01 | Answers (0) | 收藏


在数据库 information_schema 中, 查询所有会话变量

mysql> select COUNT(*) from SESSION_VARIABLES;  # how many session variables
+-----------+
| COUNT( *) |
+-----------+
|       445 |
+-----------+
1 row in set, 1 warning (0.01 sec)