I have been trying to execute this MySQL program using a shell script
load data local infile 'MRCOLS.RRF' into table MRCOLS fields
terminated by '|' ESCAPED BY '' lines terminated by '\r\n'
(@col,@des,@ref,@min,@av,@max,@fil,@dty)
SET COL = NULLIF(@col,''),
DES = NULLIF(@des,''),
REF = NULLIF(@ref,''),
MIN = NULLIF(@min,''),
AV = NULLIF(@av,''),
MAX = NULLIF(@max,''),
FIL = NULLIF(@fil,''),
DTY = NULLIF(@dty,'');`
and I am getting ERROR 1148 (42000) at line 25: The used command is not allowed with this MySQL version
I have cross checked the command with syntax of MySQL, but nothing helped me.
MySQL Version :
mysql 5.5.38-0ubuntu0.14.04.1 (Ubuntu)