> ## Documentation Index
> Fetch the complete documentation index at: https://private-7c7dfe99-fix-nav-issues.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

> TABLUM.IO 是一款原生支持 ClickHouse 的数据管理 SaaS。

# 将 TABLUM.IO 连接到 ClickHouse

export const CommunityMaintainedBadge = () => {
  return <div className="CommunityMaintainedBadge">
            <div className="CommunityMaintainedIcon">
            <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="currentColor" viewBox="0 0 256 256">
                <path d="M244.8,150.4a8,8,0,0,1-11.2-1.6A51.6,51.6,0,0,0,192,128a8,8,0,0,1-7.37-4.89,8,8,0,0,1,0-6.22A8,8,0,0,1,192,112a24,24,0,1,0-23.24-30,8,8,0,1,1-15.5-4A40,40,0,1,1,219,117.51a67.94,67.94,0,0,1,27.43,21.68A8,8,0,0,1,244.8,150.4ZM190.92,212a8,8,0,1,1-13.84,8,57,57,0,0,0-98.16,0,8,8,0,1,1-13.84-8,72.06,72.06,0,0,1,33.74-29.92,48,48,0,1,1,58.36,0A72.06,72.06,0,0,1,190.92,212ZM128,176a32,32,0,1,0-32-32A32,32,0,0,0,128,176ZM72,120a8,8,0,0,0-8-8A24,24,0,1,1,87.24,82a8,8,0,1,0,15.5-4A40,40,0,1,0,37,117.51,67.94,67.94,0,0,0,9.6,139.19a8,8,0,1,0,12.8,9.61A51.6,51.6,0,0,1,64,128,8,8,0,0,0,72,120Z"></path>
            </svg>
        </div>
            Community Maintained
        </div>;
};

export const Image = ({img, alt, size}) => {
  return <Frame>
      <img src={img} alt={alt} />
    </Frame>;
};

<div id="open-the-tablumio-startup-page">
  ## 打开 TABLUM.IO 启动页
</div>

<Note>
  你可以在 Linux 服务器上使用 Docker 安装 TABLUM.IO 的自托管版本。
</Note>

<div id="1-sign-up-or-sign-in-to-the-service">
  ## 1. 注册或登录该服务
</div>

首先，使用您的电子邮箱注册 TABLUM.IO，或通过 Google 或 Facebook 账号快速登录。

<Image img="https://mintcdn.com/private-7c7dfe99-fix-nav-issues/ldyQZWT-cIRJh7wo/images/integrations/sql-clients/tablum-ch-0.png?fit=max&auto=format&n=ldyQZWT-cIRJh7wo&q=85&s=bc4ef9673a50af4be4ce1ca5de28fb04" size="md" border alt="TABLUM.IO 登录页面" width="1365" height="732" data-path="images/integrations/sql-clients/tablum-ch-0.png" />

<div id="2-add-a-clickhouse-connector">
  ## 2. 添加 ClickHouse 连接器
</div>

准备好你的 ClickHouse 连接信息，进入 **Connector** 选项卡，并填写主机 URL、端口、用户名、密码、数据库名称以及连接器名称。填写完这些字段后，点击 **Test connection** 按钮验证连接信息，然后点击 **Save connector for me** 将其保存为持久配置。

<Tip>
  请确保根据你的连接信息指定正确的 **HTTP** 端口，并相应切换 **SSL** 模式。
</Tip>

<Tip>
  通常，使用 TLS 时端口为 8443；不使用 TLS 时端口为 8123。
</Tip>

<Image img="https://mintcdn.com/private-7c7dfe99-fix-nav-issues/ldyQZWT-cIRJh7wo/images/integrations/sql-clients/tablum-ch-1.png?fit=max&auto=format&n=ldyQZWT-cIRJh7wo&q=85&s=68fb88de675e6a9533053b5d2d9e925a" size="lg" border alt="在 TABLUM.IO 中添加 ClickHouse 连接器" width="1365" height="732" data-path="images/integrations/sql-clients/tablum-ch-1.png" />

<div id="3-select-the-connector">
  ## 3. 选择连接器
</div>

转到 **Dataset** 选项卡。在下拉菜单中选择最近创建的 ClickHouse 连接器。右侧面板会显示可用的表和 schema 列表。

<Image img="https://mintcdn.com/private-7c7dfe99-fix-nav-issues/ldyQZWT-cIRJh7wo/images/integrations/sql-clients/tablum-ch-2.png?fit=max&auto=format&n=ldyQZWT-cIRJh7wo&q=85&s=5e470a3112e2bc4a984d0c7af5042f5c" size="lg" border alt="在 TABLUM.IO 中选择 ClickHouse 连接器" width="1365" height="732" data-path="images/integrations/sql-clients/tablum-ch-2.png" />

<div id="4-input-a-sql-query-and-run-it">
  ## 4. 输入 SQL 查询并运行
</div>

在 SQL 控制台中输入查询，然后点击 **运行查询**。结果会以电子表格形式显示。

<Tip>
  右键单击列名，即可打开包含排序、过滤器和其他操作的下拉菜单。
</Tip>

<Image img="https://mintcdn.com/private-7c7dfe99-fix-nav-issues/ldyQZWT-cIRJh7wo/images/integrations/sql-clients/tablum-ch-3.png?fit=max&auto=format&n=ldyQZWT-cIRJh7wo&q=85&s=28621a27bff7e2ce345f97ffcbf53444" size="lg" border alt="在 TABLUM.IO 中运行 SQL 查询" width="1365" height="732" data-path="images/integrations/sql-clients/tablum-ch-3.png" />

<Note>
  在 TABLUM.IO 中，您可以

  * 在您的 TABLUM.IO 账户中创建并使用多个 ClickHouse 连接器，
  * 无论数据源如何，都可以对任何已加载的数据运行查询，
  * 将结果共享为一个新的 ClickHouse 数据库。
</Note>

<div id="learn-more">
  ## 了解更多
</div>

访问 [https://tablum.io，了解有关](https://tablum.io，了解有关) TABLUM.IO 的更多信息。
