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

Can't connect to Clickhouse's playground #39

Open
drizk1 opened this issue Sep 4, 2024 · 0 comments
Open

Can't connect to Clickhouse's playground #39

drizk1 opened this issue Sep 4, 2024 · 0 comments

Comments

@drizk1
Copy link
Contributor

drizk1 commented Sep 4, 2024

Howdy,

I am trying to connect to the clickhouse example playground database but I cant seem to get it to connect. I have tried solving the issue, but I keep coming up short.

julia> ClickHouse.connect("play.clickhouse.com", 443; 
                          database="default", 
                          username="play", 
                          password="", 
                          )
ERROR: ArgumentError: invalid value for Enum ServerCodes: 21
Stacktrace:
 [1] enum_argument_error(typename::Symbol, x::UInt64)
   @ Base.Enums ./Enums.jl:93
 [2] ServerCodes
   @ ./Enums.jl:211 [inlined]
 [3] read_packet(sock::ClickHouseSock, ::Type{ClickHouse.ServerCodes})
   @ ClickHouse ~/jl_stuff/ClickHouse.jl/src/tcp/Packets.jl:49
 [4] connect!(sock::ClickHouseSock; force::Bool)
   @ ClickHouse ~/jl_stuff/ClickHouse.jl/src/Connect.jl:63
 [5] connect!
   @ ~/jl_stuff/ClickHouse.jl/src/Connect.jl:18 [inlined]
 [6] #connect#38
   @ ~/jl_stuff/ClickHouse.jl/src/Connect.jl:116 [inlined]
 [7] top-level scope
   @ REPL[5]:1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant