差分
このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン | ||
ja:documentation:pandorafms:technical_annexes:27_pfms_db_management [2024/06/24 05:13] – [診断ツール] junichi | ja:documentation:pandorafms:technical_annexes:27_pfms_db_management [2025/02/01 13:13] (現在) – [DB スキーマチェック] junichi | ||
---|---|---|---|
行 56: | 行 56: | ||
===== DB インタフェース ===== | ===== DB インタフェース ===== | ||
- | |||
- | This is an extension that allows you to execute commands on the database and see the result. It is an advanced tool that should only be used by people who know SQL and the Pandora FMS database schema in sufficient detail. | ||
- | |||
- | これは、データベース上でコマンドを実行し、結果を確認できるようにする拡張機能です。 これは高度なツールであり、SQL と Pandora FMS データベース スキーマを十分に詳しく知っている人のみが使用する必要があります。 | ||
<WRAP center round important 90%> | <WRAP center round important 90%> | ||
- | Improper use of this tool can destroy data or render the application permanently inoperative. Use it with caution. | + | Improper use of this tool may destroy data or render the application permanently inoperative. Use with caution. |
</ | </ | ||
行 73: | 行 69: | ||
</ | </ | ||
- | The extension | + | It is an extension that allows to execute commands in the database and see its result. Advanced tool that should only be used by people who know SQL and the Pandora FMS database schema with enough detail. |
- | この拡張機能には、**管理ツール(Admin tools)** メニュー → **DB インターフェイス(DB interface)** からアクセスします。 | + | これは、データベースでコマンドを実行し、その結果を確認できる拡張機能です。SQL と Pandora FMS データベーススキーマを十分に理解している人だけが使用できる高度なツールです。 |
- | {{ :wiki: | + | Menu < |
- | Type the command in the blank field and click **Execute SQL**. | + | メニュー <wrap :ja>**管理(Management) → 管理ツール(Admin tools) → DB インタフェース(DB Interface)**</ |
- | 空白のフィールドにコマンドを入力し、**SQL の実行** をクリックします。 | + | <wrap #ks3 /> |
===== DB スキーマチェック ===== | ===== DB スキーマチェック ===== | ||
- | <WRAP center round important | + | <WRAP center round important |
- | <WRAP center round important | + | This check can only be performed on MySQL databases. |
+ | |||
+ | </ | ||
+ | |||
+ | <WRAP center round important | ||
+ | |||
+ | このチェックは MySQL データベースでのみ実行できます。 | ||
+ | |||
+ | </ | ||
- | This is an extension that allows | + | This is an extension that allows |
これは、現状の Pandora FMS データベースと、考えられるエラーを比較するための標準スキームとの間の構造的な違いをチェックできるようにする拡張機能です。 | これは、現状の Pandora FMS データベースと、考えられるエラーを比較するための標準スキームとの間の構造的な違いをチェックできるようにする拡張機能です。 | ||
- | <WRAP center round tip 60%> It is recommended to use this extension to check if a database migration was successful | + | <wrap :en>**Management → Admin tools → DB Schema |
- | <WRAP center round tip 60%> データベースの移行が成功したかどうかを確認するには、この拡張機能を使用することをお勧めします。 | + | メニュー |
- | The operation is as follows: | + | <WRAP center round tip 90%> |
- | 処理は次のとおりです。 | + | It is recommended to use this extension to check if a database migration has been performed correctly. |
- | * A temporary database is created with the structure that the installation database must have (different depending on the installed version). | + | </ |
- | * The database created is compared with the database referenced in the installation. | + | |
- | * The temporary database is deleted. | + | |
- | * 一時データベースが、インストールデータベースに必要な構造 (インストールされているバージョンによって異なります) で作成されます。 | + | <WRAP center round tip 90%> |
- | * 作成されたデータベースが、インストールで参照されたデータベースと比較されます。 | + | |
- | * 一時データベースが削除されます。 | + | |
- | {{ :wiki: | + | </ |
+ | |||
+ | The operation is as follows: | ||
- | Enter your database access data and click the **Run test** button. For example: | + | 操作は以下のとおりです。 |
- | データベースアクセス情報を入力し、**テストの実行(Run test)** ボタンをクリックします。例: | + | |
+ | | ||
+ | * <wrap :en>**DB Password for this user**</ | ||
+ | * <wrap :en>**DB Hostname**</ | ||
+ | * <wrap :en>**DB Name (testing purposes only; temporary)**</ | ||
+ | * A temporary database is created with the structure that the installation database must have (different depending on the version installed). | ||
+ | * The schema of the database created is compared with that of the database referenced in the installation. | ||
+ | * The temporary database is deleted. | ||
+ | * The results are displayed, if something is incorrect, messages will be displayed with instructions to follow to bring the database to its correct structure. | ||
- | {{ :wiki:pfms-admin_tools-db_schema_check-success.png?790x500 }} | + | * ユーザには、'' |
+ | * < | ||
+ | * <wrap : | ||
+ | * <wrap :ja>**DB ホスト名(DB Hostname)**</ | ||
+ | * <wrap :ja>**DB 名(一時的なテスト目的のみ)(DB Name (testing purposes only; temporary))**</ | ||
+ | * インストールデータベースに必要な構造 (インストールされているバージョンによって異なります) を持つ一時データベースが作成されます。 | ||
+ | * 作成されたデータベースのスキーマは、インストールで参照されるデータベースのスキーマと比較されます。 | ||
+ | * 一時データベースが削除されます。 | ||
+ | * 結果が表示され、何かが間違っている場合は、データベースを正しい構造にするための指示を示すメッセージが表示されます。 | ||
[[ja: | [[ja: | ||