- 论坛徽章:
- 0
|
我看到innodb文档中提到innodb_file_per_table等几个参数可以动态改变
Beginning with the InnoDB Plugin, the configuration parameter innodb_file_per_table is dynamic, and can be set ON or OFF using the SET GLOBAL command.
但是我试了下好象不行,难道innodb不是plugin安装的?可是show plugins有看到啊
mysql [localhost] {msandbox} (test) > set global innodb_file_per_table=1;
ERROR 1238 (HY000): Variable 'innodb_file_per_table' is a read only variable
mysql [localhost] {msandbox} (test) > select version();
+-----------+
| version() |
+-----------+
| 5.1.42 |
+-----------+
mysql [localhost] {msandbox} (test) > show plugins\G
Name: InnoDB
Status: ACTIVE
Type: STORAGE ENGINE
Library: NULL
License: GPL |
|