Mysql 如何使用加载数据本地填充加载包含lat long的csv

Mysql 如何使用加载数据本地填充加载包含lat long的csv,mysql,mysql-workbench,Mysql,Mysql Workbench,我尝试加载一个包含坐标点的csv文件,并在直接加载时获得该文件 Error Code: 1416. Cannot get geometry object from data you send to the GEOMETRY field 我的桌子是这样的 create table if not exists tbl( id int(9), work_area varchar(255), lat_long point not null) engine = InnoDB; csv文件中的行值如下所

我尝试加载一个包含坐标点的csv文件,并在直接加载时获得该文件

Error Code: 1416. Cannot get geometry object from data you send to the GEOMETRY field
我的桌子是这样的

create table if not exists tbl(
id int(9),
work_area varchar(255),
lat_long point not null) engine = InnoDB;
csv文件中的行值如下所示
1;BNN;5.28027、95.9757526

这就是我所做的,并且产生了空值

load data local infile "d:\\path\\to\\file.csv"
into table db_sample.sample_tbl
fields terminated by ';'
lines terminated by '\r\n'
ignore 1 lines
(@id, @work_area, @lat_long)
set
id = NULLIF(@id, null),
work_area = NULLIF(@work_area, null),
lat_long = concat('Point(', replace(@lat_long,',',''),')');

我真的很期待任何答案。 提前谢谢