DBeaver连接Clickhouse该如何配置?更改listen_host后clickhouse-server 启动失败怎么办?
发布于 1 个月前 作者 Brizzyu 209 次浏览 来自 问答

Clickhouse安装在阿里云机器上,使用DBever 登陆时 报错如下: Unexpected driver error occurred while connecting to database failed: Connection refused: connect 然后将config.xml中listen_host 修改为<listen_host>::</listen_host>,然后启动clichouse-server 启动失败 [root@master clickhouse-server]# /etc/init.d/clickhouse-server restart Stop clickhouse-server service: DONE Start clickhouse-server service: Path to data directory in /etc/clickhouse-server/config.xml: /var/lib/clickhouse/ DONE [root@master clickhouse-server]# /etc/init.d/clickhouse-server status clickhouse-server: process unexpectedly terminated

2 回复

JDBC driver的问题吧。检查下driver版本。 跟ch服务器应该没关系。 在windows实体机上很容易连上啊

端口号和IP,防火墙什么都查一下。

回到顶部