Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I check my InnoDB settings?

Tags:

mysql

innodb

Is there a MySQL command that I can execute which will show settings such as innodb_file_format, or a configuration file which I should check?

MySQL version: 5.5.32

like image 636
Lemmings19 Avatar asked Jul 31 '13 17:07

Lemmings19


People also ask

How do I know if InnoDB is enabled?

The easiest way to check whether the InnoDB engine is enabled is to log in to phpMyAdmin, click the SQL tab, type the following command in the box: show engines; and click Go to execute the query and see the available storage engines. Next to InnoDB engine, in the Support row you will see Yes if InnoDB is enabled.

How do I view InnoDB variables?

show variables like 'inno%' should show up all the innodb settings in effect at the moment you run the query. As for files, there should probably be something like /etc/mysql/my. ini or a my.

How do I configure InnoDB?

Normally, InnoDB is initialized when the MySQL server is started for the first time. You can place InnoDB settings in the [mysqld] group of any option file that your server reads when it starts. The locations of MySQL option files are described in Section 4.2. 2.2, “Using Option Files”.


1 Answers

show variables like 'innodb%';
like image 117
Gryphius Avatar answered Sep 20 '22 19:09

Gryphius