Tools
This section describes breaking changes for the
neo4j-admincommand.
From Neo4j 4.0 onwards, there are some changes for the neo4j-admin command:
-
--databaseoption NewSpecify a database for a particular operation. If not specified, the default
neo4jdatabase is used. -
--nodesoption ChangedThe syntax has changed to:
neo4j-admin import --nodes=[<label>[:<label>]…=]<files>… -
--relationshipsoption ChangedThe syntax has changed to:
neo4j-admin import --relationships=[<type>=]<files>…]… -
When importing data using
neo4j-admin import, you must create the database (usingCREATE DATABASEagainst thesystemdatabase) after the import operation finishes. Otherwise, you cannot access the imported data.