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
mongoimport -h localhost -port 27017 -d test -c test business.log
mongoimport --host localhost --port 27017 --db test --collection test business_new.log
-h -> –host
-p -> –port
-d -> –db
-c -> –collection