Data loading problem with csv file from staging server to Database
The error has nothing to do with the content of the file.  The key message is:
syntax error: found &quot;missing&quot;:

Literally, when parsing the control commands it found the word &quot;missing&quot; where it was expecting something else.  So what was immediately preceding the word &quot;missing&quot;??  This:
 FIELDS TERMINATED BY ',' optionally enclosed by 
        MISSING FIELD VALUES ARE NULL

So, what are the fields 'optionally enclosed by' ????