简体   繁体   中英

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 ?

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状态屏幕截图

Hope it helps...

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM