| 1 |
select @@global.plugin_dir; |
| 2 |
@@global.plugin_dir |
| 3 |
MYSQL_TMP_DIR/ |
| 4 |
select @@session.plugin_dir; |
| 5 |
ERROR HY000: Variable 'plugin_dir' is a GLOBAL variable |
| 6 |
show global variables like 'plugin_dir'; |
| 7 |
Variable_name Value |
| 8 |
plugin_dir MYSQL_TMP_DIR/ |
| 9 |
show session variables like 'plugin_dir'; |
| 10 |
Variable_name Value |
| 11 |
plugin_dir MYSQL_TMP_DIR/ |
| 12 |
select * from performance_schema.global_variables where variable_name='plugin_dir'; |
| 13 |
VARIABLE_NAME VARIABLE_VALUE |
| 14 |
plugin_dir MYSQL_TMP_DIR/ |
| 15 |
select * from performance_schema.session_variables where variable_name='plugin_dir'; |
| 16 |
VARIABLE_NAME VARIABLE_VALUE |
| 17 |
plugin_dir MYSQL_TMP_DIR/ |
| 18 |
set global plugin_dir=1; |
| 19 |
ERROR HY000: Variable 'plugin_dir' is a read only variable |
| 20 |
set session plugin_dir=1; |
| 21 |
ERROR HY000: Variable 'plugin_dir' is a read only variable |