简体   繁体   English

在Neo4j Linux服务器中导入CSV文件

[英]Importing CSV file in Neo4j Linux Server

I have installed Neo4j Enterprise edition 3.3.0 in my Linux server machine. 我已经在Linux服务器计算机上安装了Neo4j Enterprise Edition 3.3.0。

Now i am trying to access the server through my windows machine using port 7474, xx.xx.xx.xx:7474 现在我正在尝试使用端口7474,xx.xx.xx.xx:7474通过Windows计算机访问服务器

But the problem is whenever i want to import any csv file to the database, first i have to upload the file into the "import" directory in the Linux server. 但是问题是无论何时我要将任何csv文件导入数据库,首先我都必须将该文件上传到Linux服务器中的“ import”目录中。

Is there any way i can directly import the file which is in my local windows machine into the Neo4j database without having to upload the file into the Linux server first? 有什么方法可以直接将本地Windows机器中的文件导入Neo4j数据库,而不必先将文件上传到Linux服务器?

Can I create more than one database? 我可以创建多个数据库吗? If yes how? 如果是,怎么办?

Thanks. 谢谢。

There is no way to do it in Neo4j, the execution of the query is done on the server side, so the url of the CSV file is related to the server. Neo4j没有办法做到这一点,查询的执行是在服务器端完成的,因此CSV文件的url与服务器有关。

But you can have a shared folder with the server, or you can also publish your CSV file on an HTTP server. 但是,您可以与服务器共享文件夹,也可以在CSV服务器上发布CSV文件。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM