neo4j / neo4j-jdbc

Official Neo4j JDBC Driver
http://neo4j.github.io/neo4j-jdbc/
Apache License 2.0
135 stars 53 forks source link

I can't connect neo4j instance, need to see all databases #461

Open nuhyurduseven opened 1 year ago

nuhyurduseven commented 1 year ago

Expected Behavior

connecting to neo4j instance, need to see all dbs

Actual Behavior

connected to neo4j database without specify in connection string

How to Reproduce the Problem

I want to connect neo4j instance with jdbc driver and see all database but I see only neo4j database. I am using dbeaver as database client. When I use jdbc:neo4j:neo4j:<host:port> , I can not see all neo4j database.

Versions

image

fbiville commented 1 year ago

@nuhyurduseven indeed, java.sql.DatabaseMetaData#getCatalogs is currently implemented to return an empty list. Would you like to submit a PR to change org.neo4j.jdbc.bolt.BoltNeo4jDatabaseMetaData so that it returns the result of the Cypher query SHOW DATABASES?

nuhyurduseven commented 1 year ago

Yes, I need to do this feature. But I don't use bolt. I used neo4j instead. I can send a feature request for this

fbiville commented 1 year ago

Bolt in the classname simply refers to the Bolt protocol, which "materializes" as the bolt and neo4j schemes in the connection URIs.