ArangoDB 导入:arangoimp 文件在 运行 时崩溃(超时 1200)

ArangoDB Import: arangoimp file crashes on run (timeout 1200)

图形数据库的新手,并尝试为我的高级项目学习一些平台。我正在使用 ArangoDB,但似乎无法正确导入数据。

手册上说 运行 arangoimp 文件执行导入命令,但每次我启动 arangoimp 文件时,它都会要求输入密码(为空),然后退出并显示以下...

/Applications/ArangoDB3-CLI.app/Contents/Resources/arangoimp ; exit;
Please specify a password: 

Connected to ArangoDB 'http+tcp://127.0.0.1:8529',
version 3.3.15, database: '_system', username: 'root'
----------------------------------------
database:               _system
collection:             
create:                 no
source filename:        
file type:              json
threads:                2
connect timeout:        5
request timeout:        1200
----------------------------------------
2018-09-20T19:17:30Z [25483] FATAL Collection name is missing.
logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.

[Process completed]

这里完全是新手,非常感谢您的帮助...致力于 mac...

arangoimp 是一个需要一些参数的命令行工具。例如。您要填充的集合和源数据。

所以你应该使用类似的东西:

arangoimp --file "mydatafile.json" --type json --collection "mycollection"

阅读 arangoimp documentation 了解有关所有选项和访问远程数据库的更多详细信息。