Some of you may say "there are many answers in other threads" or "Google this." But in fact, I did not find the answer.
I am developing a PHP / MySQL project using symfony and for an unknown reason (which means that I did not write any php line), I got this error "SQLSTATE [42000]: syntax error or access violation: 1286 Unknown desktop engine" InnoDB "
I have already tried these solutions:
- Restart mysql
- Stop MySQL, delete ib_logfile0 and ib_logfile1, start Mysql
- Make "Show Engines". This command does not return an instance of "InnoDB". Not even "INACTIVE" (weird, right?).
- (even weirder). PHPMyAdmin displays all tables except those that use "InnoDB" instead of "InnoDB". No problem with MyISAM tables.
Some people suggested dumping the database, recompiling MySQL and uploading the sql file to the recompiled database, but ... Let them say that I'm not in the mood for this (it will take a lot of time).
source
share