Mongo import reported an error.

  mongodb, question

exception: SyntaxError: Unexpected token ILLEGAL

The tool is rockmongo.

It is said that there is a grammatical mistake but I don’t know where the mistake is. Google search has this pair of things, but did I replace the pair inside or report the mistake?
The file was exported from mongo online. May mongo version be different? solve

The data processed by mongodb 2.4export is imported into mongodb3.0
The original

mongoimport -h localhost -port 27017 -d test -c test business.log

Replace with

mongoimport --host localhost  --port 27017 --db test --collection test  business_new.log

-h -> –host
-p -> –port
-d -> –db
-c -> –collection