Cómo insertar un punto en la tabla mySQL
Recibo un error mySQL que dice 'ADDRESS_LONGI_LATIT_LOCATION' no puede ser nulo. Es probable que 'geomfromtext / pointfromtext' devuelva un valor nulo. ¿Qué pasa aquí? Cualquier ayuda es apreciada.
INSERT INTO address (ADDRESS_NICKNAME,ADDRESS_LONGI_LATIT_LOCATION)
VALUES ('Testing',geomfromtext('Point(10.20.45 34.23.79)'))
De otra maner
INSERT INTO address (ADDRESS_NICKNAME,ADDRESS_LONGI_LATIT_LOCATION)
VALUES ('Testing',pointfromtext('10.20.45 34.23.79'))