AI エージェント向け: ドキュメントインデックスは https://www.mongodb.com/ja-jp/docs/llms.txt で利用できます。すべてのページの markdown バージョンは、いずれかの URL パスに .md を追加することで利用できます。
Docs Menu

macOS への BI Connector のインストール

注意

MongoDB Connector for BI および関連ユーティリティは、現在サポートされているすべての MongoDB サーバー バージョンと互換性があります。

などの ツールを使用して MongoDBConnectorBIforbusiness intelligenceTableau を設定するには、このページの手順に従います。

  • ホストに OpenSSL がインストールされている。

Homebrew 経由で OpenSSL をインストールするには、次のコマンドを実行します。

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew update
brew install openssl

If your MongoDB instance uses authentication, your BI Connector instance must also use authentication. The user that connects to MongoDB via the mongosqld program must have permission to read from all the namespaces you wish to sample data from.

BI Connector での MongoDB ユーザー権限の詳細については、「キャッシュされたサンプリングのユーザー権限」を参照してください。

1

Download the BI Connector from the MongoDB Download Center.

2

The MongoDB release team digitally signs all software packages to certify that a particular MongoDB package is a valid and unaltered MongoDB release. The bi-connector.asc key to validate the BI Connector is available on pgp.mongodb.com as a PGP key in .asc format.

  1. 次のコマンドを実行して、 .sigファイルをダウンロードします。

    curl -LO https://info-mongodb-com.s3.amazonaws.com/mongodb-bi/v2/mongodb-bi-osx-{x86_64|arm64-macos{11|13}}-{version}.zip.sig
  2. 次のコマンドを実行して、インポート キー ファイルをダウンロードします。

    curl -LO https://pgp.mongodb.com/bi-connector.asc
    gpg --import bi-connector.asc
    gpg: key 1CCF1A1263CDD699: public key "MongoDB BI Connector Release Signing Key <packaging@mongodb.com>" imported
    gpg: Total number processed: 1
    gpg: imported: 1
  3. 以下のコマンドを実行して、MongoDB インストール ファイルを検証します。

    gpg --verify mongodb-bi-osx-{x86_64|arm64-macos{11|13}}-{version}.zip.sig mongodb-bi-osx-{x86_64|arm64-macos{11|13}}-{version}.zip

    GPG は次の応答を返す必要があります。

    gpg: Signature made Thu Jun 13 10:17:03 2024 PDT
    gpg: using RSA key BD66803ABD3EB56953142EE51CCF1A1263CDD699
    gpg: Good signature from "MongoDB BI Connector Release Signing Key <packaging@mongodb.com>" [unknown]

    パッケージが適切に署名されているが、ローカルの trustdb の署名キーを現在信頼していない場合、gpg は次のメッセージも返します。

    gpg: WARNING: This key is not certified with a trusted signature!
    gpg: There is no indication that the signature belongs to the owner.
    Primary key fingerprint: BD66 803A BD3E B569 5314 2EE5 1CCF 1A12 63CD D699

    次のエラー メッセージが表示される場合は、正しい公開キーをインポートしたことを確認してください。

    gpg: Can't check signature: public key not found
3
  1. ダウンロードした.zipアーカイブを抽出します。 {SOURCE-PATH} を、 .zipアーカイブをダウンロードしたディレクトリへのパスに置き換えます。 {DESTINATION-PATH} を、アーカイブを抽出するディレクトリへのパスに置き換えます。

    unzip {SOURCE-PATH}/mongodb-bi-osx-{x86_64|arm64-macos{11|13}}-{version}.zip -d {DESTINATION-PATH}
  2. mongodb-bi-osx-{x86_64|arm64-macos{11|13}}-{version}ディレクトリに変更します。 {DESTINATION-PATH} を、前の手順でアーカイブを抽出したディレクトリへのパスに置き換えます。

    cd {DESTINATION-PATH}/mongodb-bi-osx-{x86_64|arm64-macos{11|13}}-{version}/
  3. システムPATHにリストされているディレクトリに、 bin/ディレクトリ内のプログラムをインストールします。 以前のバージョンが存在する場合は、バイナリを上書きします。

    sudo install -m755 bin/mongo* /usr/local/bin/

バージョン2.9の新機能。

インストールを開始できるように、 example-mongosqld-config.ymlという名前のサンプルmongosqld構成ファイルがインストール パッケージに含まれています。 構成ファイルを使用して BI Connector を起動する方法については、構成ファイルのmongosqldドキュメントのセクションを参照してください

これで、BI Connector を起動する準備が整いました。 次のガイドには、BI Connector の構成、スキーマ生成、および起動オプションに関する詳細情報が記載されています。