Neo4j Connection URI#
liquibase-neo4j accepts only URI in the JDBC format, supported
the underlying JDBC connector.
Only connections through the Bolt protocol variants are supported. Connections through HTTP or embedded are not supported by the extension.
- ✅
jdbc:neo4j:bolt://host:portis supported - ✅
jdbc:neo4j:bolt+s://host:portis supported - ✅
jdbc:neo4j:bolt+ssc://host:portis supported - ✅
jdbc:neo4j:neo4j://host:portis supported - ✅
jdbc:neo4j:neo4j+s://host:portis supported - ✅
jdbc:neo4j:neo4j+ssc://host:portis supported - ❌
jdbc:neo4j:http://host:portis NOT supported - ❌
jdbc:neo4j:https://host:portis NOT supported - ❌
jdbc:neo4j:file:///path/to/neo4jis NOT supported
Starting with Neo4j 4 (Enterprise Edition), a Neo4j server may host several databases.
The database URI parameter can be added to target a specific database:
jdbc:neo4j:bolt://localhost?database=myDbjdbc:neo4j:neo4j+ssc://example.com?database=otherDbjdbc:neo4j:bolt+s://example.com?database=yetAnotherDb
The general list of supported URI parameters is documented here. Most of the parameters should be left unspecified, as they can interact with the extension in unpredictable ways.