Connecting DbVisualizer to ClickHouse
Start or download DbVisualizer
DbVisualizerはここから入手可能です: https://www.dbvis.com/download/
1. Gather your connection details
To connect to ClickHouse with HTTP(S) you need this information:
-
The HOST and PORT: typically, the port is 8443 when using TLS or 8123 when not using TLS.
-
The DATABASE NAME: out of the box, there is a database named
default
, use the name of the database that you want to connect to. -
The USERNAME and PASSWORD: out of the box, the username is
default
. Use the username appropriate for your use case.
The details for your ClickHouse Cloud service are available in the ClickHouse Cloud console. Select the service that you will connect to and click Connect:

Choose HTTPS, and the details are available in an example curl
command.

If you are using self-managed ClickHouse, the connection details are set by your ClickHouse administrator.
ClickHouseにHTTP(S)で接続するには、次の情報が必要です:
-
HOSTとPORT: 通常、ポートはTLSを使用する場合は8443、TLSを使用しない場合は8123です。
-
DATABASE NAME: デフォルトでは、
default
という名前のデータベースがあります。接続したいデータベースの名前を使用してください。 -
USERNAMEとPASSWORD: デフォルトでは、ユーザー名は
default
です。ご利用のケースに適したユーザー名を使用してください。
ClickHouse Cloudサービスの詳細はClickHouse Cloudコンソールで確認できます。接続するサービスを選択し、Connectをクリックします:

HTTPSを選択すると、詳細が例のcurl
コマンドで提供されます。

セルフマネージドのClickHouseを使用している場合、接続の詳細はClickHouseの管理者によって設定されます。
2. Built-in JDBC driver management
DbVisualizerにはClickHouse用の最新のJDBCドライバが含まれています。最新のリリースや過去のバージョンにポイントする完全なJDBCドライバ管理機能が組み込まれています。

3. Connect to ClickHouse
DbVisualizerでデータベースに接続するには、まずデータベース接続を作成して設定する必要があります。
-
Database->Create Database Connection から新しい接続を作成し、ポップアップメニューからデータベース用のドライバを選択します。
-
新しい接続のために Object View タブが開かれます。
-
Name フィールドに接続の名前を入力し、オプションで Notes フィールドに接続の説明を入力します。
-
Database Type は Auto Detect のままにします。
-
Driver Type で選択したドライバに緑のチェックマークが付いていれば、使用可能です。チェックマークが付いていない場合は、Driver Manager でドライバを設定する必要があります。
-
残りのフィールドにデータベースサーバに関する情報を入力します。
-
Ping Server ボタンをクリックして指定されたアドレスとポートにネットワーク接続が確立できるか確認します。
-
Ping Serverの結果がサーバに到達できることを示している場合は、Connect をクリックしてデータベースサーバに接続します。
データベースへの接続に問題がある場合は、Fixing Connection Issuesを参照してください。
Learn more
DbVisualizerに関する詳細情報は、DbVisualizer documentationをご覧ください。