1757
MariaDBERRORNotablePartitioningHIGH confidence
FULLTEXT indexes not supported on partitioned tables
Production Risk
Medium — DDL rejected.
What this means
MySQL does not support FULLTEXT indexes on partitioned InnoDB or MyISAM tables.
Why it happens
- 1Attempting to create a FULLTEXT index on a partitioned table.
- 2Attempting to partition a table that already has a FULLTEXT index.
How to reproduce
trigger — this will error
trigger — this will error
ALTER TABLE articles PARTITION BY HASH(id) PARTITIONS 4; -- table has FULLTEXT index
expected output
ERROR 1757 (HY000): FULLTEXT searches are not supported for partitioned tables.
Fix
Remove the FULLTEXT index before partitioning
Remove the FULLTEXT index before partitioning
ALTER TABLE articles DROP INDEX ft_content; ALTER TABLE articles PARTITION BY HASH(id) PARTITIONS 4;
Why this works
Partitioned tables cannot have FULLTEXT indexes; use an external search engine if both are needed.
What not to do
✕
Sources
Official documentation ↗
MySQL 8.0 — 1757 ER_FULLTEXT_NOT_SUPPORTED_WITH_PARTITIONING
Content generated with AI assistance and reviewed for accuracy. Found an error? hello@errcodes.dev