Error
Error Code:
1796
MySQL Error 1796: Fulltext Index on Temporary InnoDB
Description
MySQL Error 1796 indicates that you are attempting to create a FULLTEXT index on a table that is both an InnoDB table and a temporary table. This operation is not supported by the InnoDB storage engine due to its design and how temporary tables are handled. The error prevents the index from being created.
Error Message
Cannot create FULLTEXT index on temporary InnoDB table
Known Causes
3 known causesAttempting FULLTEXT on TEMPORARY Table
You have explicitly declared a table as TEMPORARY and then tried to add a FULLTEXT index to it, which MySQL's InnoDB engine does not allow.
InnoDB Engine Limitation
The InnoDB storage engine, by design, does not support FULLTEXT indexes on temporary tables. This is an architectural restriction, not a bug.
Misunderstanding Table Persistence
The table was created as TEMPORARY, possibly unintentionally or without realizing that FULLTEXT indexes require persistent storage.
Solutions
Coming SoonGeneral Troubleshooting Tips
- Check the error message carefully for specific details
- Review recent changes that might have caused the error
- Search for the exact error code in the official documentation
- Check log files for additional context
- Try restarting the application or service