> ## Documentation Index
> Fetch the complete documentation index at: https://clickhouse.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

> DBeaver는 여러 플랫폼에서 사용할 수 있는 데이터베이스 도구입니다.

# DBeaver를 ClickHouse에 연결하기

export const PartnerBadge = () => {
  return <div className="PartnerBadge">
            <div className="PartnerBadgeIcon">
                <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
                    <polyline points="12.5 9.5 10 12 6 11 2.5 8.5" stroke="currentColor" strokeLinecap="round" strokeLinejoin="round" strokeWidth="1" />
                    <polyline points="4.54 4.41 8 3.5 11.46 4.41" stroke="currentColor" strokeLinecap="round" strokeLinejoin="round" strokeWidth="1" />
                    <path d="M2.15,3.78 L0.55,6.95 A0.5,0.5 0,0,0 0.77,7.62 L2.5,8.5 L4.54,4.41 L2.82,3.55 A0.5,0.5 0,0,0 2.15,3.78 Z" stroke="currentColor" strokeLinecap="round" strokeLinejoin="round" strokeWidth="1" />
                    <path d="M13.5,8.5 L15.23,7.62 A0.5,0.5 0,0,0 15.45,6.95 L13.85,3.78 A0.5,0.5 0,0,0 13.18,3.55 L11.46,4.41 Z" stroke="currentColor" strokeLinecap="round" strokeLinejoin="round" strokeWidth="1" />
                    <path d="M11.5,4.5 L9,4.5 L6.15,7.27 A0.5,0.5 0,0,0 6.24,8.05 C7.33,8.74 8.81,8.72 10,7.5 L12.5,9.5 L13.5,8.5" stroke="currentColor" strokeLinecap="round" strokeLinejoin="round" strokeWidth="1" />
                    <polyline points="7.75 13.5 5.15 12.85 3.5 11.67" stroke="currentColor" strokeLinecap="round" strokeLinejoin="round" strokeWidth="1" />
                </svg>
            </div>
            파트너 통합
        </div>;
};

export const Image = ({img, alt, size = "lg"}) => {
  const normalizedSize = ["sm", "md", "lg"].includes(size) ? size : "lg";
  return <div className={`ch-image-${normalizedSize}`}>
      <Frame>
        <img src={img} alt={alt} />
      </Frame>
    </div>;
};

<PartnerBadge />

DBeaver는 여러 가지 에디션으로 제공됩니다. 이 가이드에서는 [DBeaver Community](https://dbeaver.io/)를 사용합니다. 다양한 에디션과 기능은 [여기](https://dbeaver.com/edition/)에서 확인할 수 있습니다. DBeaver는 JDBC를 사용해 ClickHouse에 연결합니다.

<Note>
  ClickHouse의 `Nullable` 컬럼 지원이 개선된 DBeaver 23.1.0 이상을 사용하십시오.
</Note>

<Steps>
  <Step title="ClickHouse 연결 정보 수집" id="1-gather-your-clickhouse-details">
    DBeaver는 HTTP(S) 상의 JDBC를 사용해 ClickHouse에 연결하므로 다음 정보가 필요합니다:

    * 엔드포인트
    * 포트 번호
    * 사용자 이름
    * 비밀번호
  </Step>

  <Step title="DBeaver 다운로드" id="2-download-dbeaver">
    DBeaver는 [https://dbeaver.io/download/](https://dbeaver.io/download/) 에서 다운로드할 수 있습니다.
  </Step>

  <Step title="데이터베이스 추가" id="3-add-a-database">
    * **Database > New Database Connection** 메뉴 또는 **Database Navigator**의 **New Database Connection** 아이콘을 사용해 **Connect to a database** 대화 상자를 엽니다:

    <Image img="https://mintcdn.com/private-7c7dfe99/B2SPNiDHMxYV1gTC/images/integrations/sql-clients/dbeaver-add-database.webp?fit=max&auto=format&n=B2SPNiDHMxYV1gTC&q=85&s=6f6924264c39c27a3c16661592163227" size="md" border alt="새 데이터베이스 추가" width="642" height="385" data-path="images/integrations/sql-clients/dbeaver-add-database.webp" />

    * **Analytical**을 선택한 다음 **ClickHouse**를 선택합니다:

    * JDBC URL을 구성합니다. **Main** 탭에서 Host, Port, Username, Password, Database를 설정합니다:

    <Image img="https://mintcdn.com/private-7c7dfe99/B2SPNiDHMxYV1gTC/images/integrations/sql-clients/dbeaver-host-port.webp?fit=max&auto=format&n=B2SPNiDHMxYV1gTC&q=85&s=16ee7f52fde1d693090244aadb65fe95" size="md" border alt="호스트명, 포트, 사용자 이름, 비밀번호, 데이터베이스 이름 설정" width="650" height="654" data-path="images/integrations/sql-clients/dbeaver-host-port.webp" />

    * 기본적으로 **SSL > Use SSL** 속성은 설정되지 않습니다. ClickHouse Cloud 또는 HTTP 포트에서 SSL이 필요한 server에 연결하는 경우 **SSL > Use SSL**을 켭니다:

    <Image img="https://mintcdn.com/private-7c7dfe99/B2SPNiDHMxYV1gTC/images/integrations/sql-clients/dbeaver-use-ssl.webp?fit=max&auto=format&n=B2SPNiDHMxYV1gTC&q=85&s=c2433e71b3b75b2e2970648c98ddf875" size="md" border alt="필요한 경우 SSL 활성화" width="650" height="654" data-path="images/integrations/sql-clients/dbeaver-use-ssl.webp" />

    * 연결을 테스트합니다:

    <Image img="https://mintcdn.com/private-7c7dfe99/B2SPNiDHMxYV1gTC/images/integrations/sql-clients/dbeaver-test-connection.webp?fit=max&auto=format&n=B2SPNiDHMxYV1gTC&q=85&s=bc1487c11c2a6f8abbb8b8623a407039" size="md" border alt="연결 테스트" width="650" height="654" data-path="images/integrations/sql-clients/dbeaver-test-connection.webp" />

    DBeaver가 ClickHouse 드라이버가 설치되지 않은 것을 감지하면 드라이버를 다운로드하도록 안내합니다:

    <Image img="https://mintcdn.com/private-7c7dfe99/B2SPNiDHMxYV1gTC/images/integrations/sql-clients/dbeaver-download-driver.webp?fit=max&auto=format&n=B2SPNiDHMxYV1gTC&q=85&s=d80540e5b6230d2374e3d90c6e645be7" size="md" border alt="ClickHouse 드라이버 다운로드" width="612" height="689" data-path="images/integrations/sql-clients/dbeaver-download-driver.webp" />

    * 드라이버를 다운로드한 후 연결을 다시 **Test**합니다:

    <Image img="https://mintcdn.com/private-7c7dfe99/B2SPNiDHMxYV1gTC/images/integrations/sql-clients/dbeaver-test-connection.webp?fit=max&auto=format&n=B2SPNiDHMxYV1gTC&q=85&s=bc1487c11c2a6f8abbb8b8623a407039" size="md" border alt="연결 테스트" width="650" height="654" data-path="images/integrations/sql-clients/dbeaver-test-connection.webp" />
  </Step>

  <Step title="ClickHouse 쿼리" id="4-query-clickhouse">
    쿼리 편집기를 열고 쿼리를 실행합니다.

    * 연결을 마우스 오른쪽 버튼으로 클릭하고 **SQL Editor > Open SQL Script**를 선택해 쿼리 편집기를 엽니다:

    <Image img="https://mintcdn.com/private-7c7dfe99/B2SPNiDHMxYV1gTC/images/integrations/sql-clients/dbeaver-sql-editor.webp?fit=max&auto=format&n=B2SPNiDHMxYV1gTC&q=85&s=f103364c2cf38dc970ec95f09bb1c948" size="md" border alt="SQL 편집기 열기" width="636" height="162" data-path="images/integrations/sql-clients/dbeaver-sql-editor.webp" />

    * `system.query_log`에 대한 예시 쿼리:

    <Image img="https://mintcdn.com/private-7c7dfe99/B2SPNiDHMxYV1gTC/images/integrations/sql-clients/dbeaver-query-log-select.webp?fit=max&auto=format&n=B2SPNiDHMxYV1gTC&q=85&s=433e0a24f7bf554e8aea6b8a62a67e50" size="md" border alt="예시 쿼리" width="712" height="316" data-path="images/integrations/sql-clients/dbeaver-query-log-select.webp" />
  </Step>
</Steps>

<div id="next-steps">
  ## 다음 단계
</div>

DBeaver의 기능에 대해 알아보려면 [DBeaver wiki](https://github.com/dbeaver/dbeaver/wiki)를 참조하고, ClickHouse의 기능에 대해 알아보려면 [ClickHouse documentation](/docs/ko/)을 참조하십시오.
