Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
nuhyurduseven opened this issue Aug 8, 2023 · 3 comments
Open

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

nuhyurduseven opened this issue Aug 8, 2023 · 3 comments

Comments

@nuhyurduseven
Copy link

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

  • OS: ubuntu 20.04
  • Library: Neo4j JDBC Driver 4.0.9 & bi-connector jar Neo4jJDBC 1.0.10.1011
  • Neo4j: Neo4j 4.4.23

image

@fbiville
Copy link

@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
Copy link
Author

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants