Open rogerbj opened 1 year ago
Thanks @rogerbj. But you can still issue queries against other databases, right? Or create the database before any query as mentioned in #826.
However, I do agree it's a bit confusing. With option createDatabaseIfNotExist
, connecting to a database that doesn't exist makes no real sense any longer.
Describe the bug
Specifying a non-existent database in the JDBC URLs results in the connection being established but following server calls fails.
Steps to reproduce
jdbc:clickhouse://<host>:<port>/database
Expected behaviour
The connect should fail if the specified database doesn't exist rather than following calls after connect fails.
ClickHouse versions