“使用的表类型不支持空间索引”
当我运行包含“contains”关键字的查询时,我在 MySQL 中遇到了这个错误。如何使表支持“SPATIAL 索引”。查询是
select * from table where contains(column,"1")
最佳答案
Mysql 仅支持 *.myisam 表的空间索引,即 ISAM 引擎。链接:http://dev.mysql.com/doc/refman/5.0/en/creating-spatial-indexes.html
关于mysql - 使用的表类型不支持 SPATIAL 索引,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18379808/