Microsoft
Software
Hardware
Network
Question : Problem giving while creating spatial index on geomentry column in MySql server.
Hello All,
I am working on MySQL server 5.0.
I have created a table using command
CREATE TABLE geom (g GEOMETRY NOT NULL);
Now I want to create spatial index on column 'g' using command.
CREATE SPATIAL INDEX sp_index ON geom (g);
It gives me following error -
"ERROR 1464 (HY000): The used table type doesn't support SPATIAL indexes"
Please give me some information about this problem.
Thanks in advance,
Regards,
dAshish
Answer : Problem giving while creating spatial index on geomentry column in MySql server.
move the table to MyISAM:
1:
CREATE TABLE geom (g GEOMETRY NOT NULL) ENGINE=MyISAM;
Open in New Window
Select All
Random Solutions
SQL Server Column Sizes
FAT TABLE
decompressing files that are in RAR format
Join in a Delete Query
AT&T blocking e-mails, Exchange 2007, PTR records and Certificates
Asynchronous vs Synchronous replication
ignore "no data found" error
Remote Desktop/Networking Question
Grouping together Citrix server roles
password policy properties are grayed out