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
ORA-06502 When using MAX(Column) with %TYPE
Outlook Keeps disconnecting
Opinions of test plan for Exchange 2003 bare-metal restore
Kernel recompilation .config file (make menuconfig)
Outlook 2K locked up - can't send
Offline files behaviour
Using a ghost image with Perc5i drivers to drop onto na identical server but with Perc6i raid controller ?
AJAX Calendar control prematurely firing validation
create PDF with reportviewerr embedded in a web page
"Start Menu" Change the default color scheme