Hello.


Remove coma from 'POINT(1,1)', instead use 'POINT(1 1)';

See:

  http://dev.mysql.com/doc/mysql/en/Populating_spatial_columns.html

  

>I installed mySQL server from Wizard and then i create table:

>create table geom ( g POINT) ENGINE = MYISAM;

>but i can't add any object to the table. I wrote:

>insert into geom values(PointFromText('POINT(1,1)'));

>and then i saw in the table NULL values:

>SELECT AsText(g) FROM geom;

>

>| g                |  

>--------------------

>| NULL          |

>| NULL          |

>--------------------

>

>What can i do?? Do i set some variables??

>My ini files:

>

>#This File was made using the WinMySQLAdmin 1.4 Tool

>#2004-11-08 23:39:15

>>>#Uncomment or Add only the k"Rafal K." <[EMAIL PROTECTED]> wrote:



-- 
For technical support contracts, goto https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.NET http://www.ensita.net/
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /    Gleb Paharenko
 / /|_/ / // /\ \/ /_/ / /__   [EMAIL PROTECTED]
/_/  /_/\_, /___/\___\_\___/   MySQL AB / Ensita.NET
       <___/   www.mysql.com




-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to