Question

I have Navicat mySQL Non-Commercial version. Whenever I create a table, it defaults to the myISAM storage engine for each new table , how do I make tables default to InnoDB engine without having to explicitly select these for each new table creation?

I'm trying to make this the default engine on Navicat without having to navigate to any configuration files.

Was it helpful?

Solution

There wouldn't be a Navicat setting for this. The default storage engine is actually a configuration on the MySQL server.

The standard value for the default is MyISAM, though it can be changed. This requires changing the default on the entire server (which you likely cannot do if you don't own the database server).

OTHER TIPS

At the top of your script for creating the database / tables use this flag:

SET storage_engine=INNODB;

See MySQL Setting the Storage Engine

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top