➜ ~/database/source-code/bendsql👆 git:(main) ⚡ ./target/debug/bendsql --tls=true
path is "/home/taichong/.config/bendsql/config.toml"
not set dsn : databend://root@localhost:8000?tls=false
Welcome to BendSQL 0.18.3-fbb976e(2024-07-03T13:28:17.492814078Z).
Connecting to localhost:8000 as user root.
Error: APIError: RequestError: error sending request for url (https://localhost:8000/v1/query)
If add it in config.toml, now it also return err:
And I think the doc in README.md is wrong. That is right.
➜ ~/database/source-code/bendsql👆 git:(main) ⚡ ./target/debug/bendsql
path is "/home/taichong/.config/bendsql/config.toml"
not set dsn : databend://root@localhost:8000?tls=true
Welcome to BendSQL 0.18.3-fbb976e(2024-07-03T13:28:17.492814078Z).
Connecting to localhost:8000 as user root.
Error: APIError: RequestError: error sending request for url (https://localhost:8000/v1/query)
Summary
➜ ~/database/source-code/bendsql👆 git:(main) ⚡ ./target/debug/bendsql --tls=true path is "/home/taichong/.config/bendsql/config.toml" not set dsn : databend://root@localhost:8000?tls=false Welcome to BendSQL 0.18.3-fbb976e(2024-07-03T13:28:17.492814078Z). Connecting to localhost:8000 as user root. Error: APIError: RequestError: error sending request for url (https://localhost:8000/v1/query)
And I think the doc in README.md is wrong. That is right.
➜ ~/database/source-code/bendsql👆 git:(main) ⚡ ./target/debug/bendsql
path is "/home/taichong/.config/bendsql/config.toml" not set dsn : databend://root@localhost:8000?tls=true Welcome to BendSQL 0.18.3-fbb976e(2024-07-03T13:28:17.492814078Z). Connecting to localhost:8000 as user root. Error: APIError: RequestError: error sending request for url (https://localhost:8000/v1/query)
Fix: #440