mysql错误的终极解决方案,全网唯一
1464 - The used table type doesn't support SPATIAL indexes
建立空间索引语句如下
ALTER TABLE pointquyu ADD SPATIAL INDEX spatIdx(mypoint);
1,索引列不能为空;
2,目前仅在MyISAM数据引擎下提供空间索引支持,要求几何字段非空;
注意红字!!!因此需把该表的底层结构存储引擎改了;
alter table pointquyu engine=myisam;
ok了,大功告成
CREATE SPATIAL INDEX t_geo_test_sidx ON pointquyu(mypoint);
受影响的行: 743534
时间: 18.512s
mysql错误的终极解决方案,全网唯一
1464 - The used table type doesn't support SPATIAL indexes
mysql错误的终极解决方案,全网唯一
1464 - The used table type doesn't support SPATIAL indexes
mysql错误的终极解决方案,全网唯一
1464 - The used table type doesn't support SPATIAL indexes