MySQL версии 5.7.19 Я пытаюсь запустить это:
load data infile 'C:\projects\v1.csv' into table ups terminated by ',' lines terminated by '\n' (company,ups_name,ups_ip,ups_mac,community,type_id,mdm_mac,ter_dir,td,cty,city,location,address,is_active,connected_device_name,connected_device_type,on_id,optical_node,inserted,updated);
Но получаю сообщение об ошибке:
unrecognized statement type. (near terminated by)
#1064 - You have an error in your SQL syntax; check
the manual that corresponds to your MySQL server version
for the right syntax to use near 'terminated by ','
lines terminated by '\n' (company,ups_name,ups_ip,ups_mac,comm' at line 1
Я проверил, и синтаксис правильный.Я не могу понять, что не так?Спасибо