diff --git a/src/java/org/apache/sqoop/mapreduce/MySQLExportMapper.java b/src/java/org/apache/sqoop/mapreduce/MySQLExportMapper.java index 5a695ca80..0cfb0b349 100644 --- a/src/java/org/apache/sqoop/mapreduce/MySQLExportMapper.java +++ b/src/java/org/apache/sqoop/mapreduce/MySQLExportMapper.java @@ -201,7 +201,7 @@ private void initMySQLImportProcess() throws IOException { } if (0 != escapedBy) { - args.add("--escaped-by=0x" + Integer.toString(escapedBy, 16)); + args.add("--fields-escaped-by=0x" + Integer.toString(escapedBy, 16)); } // These two arguments are positional and must be last.