MySQL Forums
Forum List  »  Chinese

MySQL 5.7.24中innodb_file_per_table参数默认值的问题
Posted by: Johnson Lee
Date: November 13, 2018 02:32AM

Hi!
I have a question , I installed MySQL 5.7.24 Enterprise-Commercial edition as an Oracle partner Corp's staff.When I run statement below, I found that this variable's default value is OFF, and I had never self-defined or modified it.Please confirm this question.Thanks!
=====Statement=====================
mysql> show variables like 'innodb_file_per_table';

======ResultSet====================
+-----------------------+-------+
| Variable_name | Value |
+-----------------------+-------+
| innodb_file_per_table | OFF |
+-----------------------+-------+
1 row in set (0.01 sec)

After I set innodb_file_per_table = ON in /etc/my.cnf configuration file and restart MySQL server,the value of this parameter is ON now.
mysql> show variables like 'innodb_file_per_table';
+-----------------------+-------+
| Variable_name | Value |
+-----------------------+-------+
| innodb_file_per_table | ON |
+-----------------------+-------+
1 row in set (0.00 sec)

Options: ReplyQuote


Subject
Views
Written By
Posted
MySQL 5.7.24中innodb_file_per_table参数默认值的问题
4652
November 13, 2018 02:32AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.