Search code examples
mysqldatabaseinnodbmyisam

Innodb Engine and Myisam Engine


I'm using mysql 5.5 version and using myisam engine for my database. But, Innodb engine not yet disabled. while I execute this command show variables like '%have%'; ,it returns have_innodb=yes. In this case, can I disable the innodb engine and set zero to all innodb variables is possible ?


Solution

  • If you are using Windows, look for my.ini file in your MySQL Server installation directory. For Linux based OS look for my.cnf in the MySQL Server installation directory.

    In that file un-comment the line skip-innodb by removing # from its beginning.

    Note: Restart the server for watching changes taking effect.

    EDIT: When you have disabled Innodb, other Innodb related variables will not be set. You will not be able to access them.

    See the screenshot attached first one when InnoDB is disabled, then InnoDB enabled InnoDB status screenshot

    Hope it helps...