DBeaver连接Clickhouse该如何配置?
发布于 5 个月前 作者 hyper 841 次浏览 来自 问答

Clickhouse安装在虚拟机中,在终端执行clickhouse-client可以进入数据库,在Windows的DBeaver连接被拒绝。 报错如下: Unexpected driver error occurred while connecting to database ru.yandex.clickhouse.except.ClickHouseException: ClickHouse exception, code: 210, host: 192.168.97.128, port: 8123; Connect to 192.168.97.128:8123 [/192.168.97.128] failed: Connection refused: connect ClickHouse exception, code: 210, host: 192.168.97.128, port: 8123; Connect to 192.168.97.128:8123 [/192.168.97.128] failed: Connection refused: connect Connect to 192.168.97.128:8123 [/192.168.97.128] failed: Connection refused: connect Connection refused: connect Connection refused: connect 根据提示,将config中监听地址修改为<listen_host>::</listen_host>,Linux下的clickhouse-client不能进入数据库。 求解!

1 回复

默认是listen在127.0.0.1上的,把<listen_host>修改为本机IP或0.0.0.0

回到顶部