I use MySQL version 5.5.49. They type of the column is geometry
and the engine of the table is InnoDB.
I try something like
ALTER TABLE geom ADD SPATIAL INDEX(field);
or
ALTER TABLE geom ADD SPATIAL INDEX table (field);
or
CREATE SPATIAL INDEX sp_index ON table(field);
and I get the error
#1464 - The used table type doesn't support SPATIAL indexes
Does this has to do with the engine of the table, the version of MySQL or am I missing something?
I read The used table type doesn't support SPATIAL indexes that is the engine that causes the problem. Do I really have to change the engine? InnoDB is more suitable for my needs.