I had to change the tmpdir directory from /tmp to /db/tmp/ folder due to the fact I didn't have enough space. When I changed my path and I ran SHOW ENGINES; I got below result;
- ARCHIVE
- MRG_MYISAM
- CSV
- MYISAM
- MEMORY
But, when I changed the directory back to /tmp my Innodb engine came back. SHOW ENGINES;
- ARCHIVE
- MRG_MYISAM
- CSV
- MYISAM
- MEMORY
- InnoDB
Does anyone know why MySQL is acting strange like that? This is a show stopper for me and causing my production server to crash.
You should add the following to /etc/my.cnf
then
service mysql restart
(For tmpdir, restart is required)Also, run this in Linux just in case:
Give it a Try !!!