exception: SyntaxError: Unexpected token ILLEGAL
工具是rockmongo
說是有語法錯誤 但是不知道哪的錯誤 谷歌搜索是“”有這一對的東西 不過我把里面這一對的都替換了還是報(bào)這個錯誤
文件是從線上的mongo導(dǎo)出的 可能mongo 版本不一樣?求解
The data processed by mongodb 2.4export is imported into mongodb3.0
You need to convert the original
mongoimport -h localhost -port 27017 -d test -c test business.log
replaced with
mongoimport --host localhost --port 27017 --db test --collection test business_new.log
-h -> --host
-p -> --port
-d -> --db
-c -> --collection