tabix支持通过浏览器直接连接 ClickHouse,不需要安装其他软件,就可以访问ClickHouse,具有以下特点:
- ⾼亮语法的编辑器。
- ⾃动命令补全。
- 查询命令执⾏的图形分析⼯具。
- 配⾊⽅案选项。
这种方式使用的clickhouse内置的服务,直接打开ckserver的目录下config.xml中http_server_default_response标签的注释就行
由于我这个是集群,故需要更改三台server配置文件,并将服务进行重启;
[root@click01 clickhouse-server]# service 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@click02 clickhouse-server]# service 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@click03 clickhouse-server]# service 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
随后我们在浏览器就可以访问该页面了;
http://clickhouse:8123
使用默认的用户名default,密码不填,直接为空