Any way to check if innodb_file_per_table is set in MYSQL 5.5 per table?

Deepak Ingole picture Deepak Ingole · Mar 26, 2014 · Viewed 16.4k times · Source

I want to check if innodb_file_per_table is set (i.e .ibd is created) for each database tables using MYSQL-5.5 query.

Any way to do it?

Answer

Igor Tverdovskiy picture Igor Tverdovskiy · Jun 19, 2015
mysql> show variables like 'innodb_file_per_table';
+-----------------------+-------+
| Variable_name         | Value |
+-----------------------+-------+
| innodb_file_per_table | ON    |
+-----------------------+-------+
1 row in set (0.00 sec)