ja:documentation:pandorafms:technical_annexes:27_pfms_db_management

差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

両方とも前のリビジョン 前のリビジョン
次のリビジョン
前のリビジョン
ja:documentation:pandorafms:technical_annexes:27_pfms_db_management [2024/06/24 05:13] – [診断ツール] junichija: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.
  
 </WRAP> </WRAP>
行 73: 行 69:
 </WRAP> </WRAP>
  
-The extension is accessed from the **Admin tools** menu → **DB interface**:+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:pfms-admin_tools-db_interface.png }}+Menu <wrap :en>**Management → Admin tools → DB Interface**</wrap>.
  
-Type the command in the blank field and click **Execute SQL**.+メニュー <wrap :ja>**管理(Management) → 管理ツール(Admin tools) → DB インタフェース(DB Interface)**</wrap>
  
-空白のフィールドにコマンドを入力し、**SQL の実行** をクリックします。+<wrap #ks3 />
  
 ===== DB スキーマチェック ===== ===== DB スキーマチェック =====
  
-<WRAP center round important 60%> This check can only be performed on MySQL Databases. </WRAP>+<WRAP center round important 90%>
  
-<WRAP center round important 60%> このチェックは MySQL データベースでのみ実行できます。 </WRAP>+This check can only be performed on MySQL databases. 
 + 
 +</WRAP> 
 + 
 +<WRAP center round important 90%> 
 + 
 +このチェックは MySQL データベースでのみ実行できます。 
 + 
 +</WRAP>
  
-This is an extension that allows checking the structural differences between the established Pandora FMS database, and a standard scheme to compare possible errors.+This is an extension that allows to check the structural differences between the established Pandora FMS database, and a pattern scheme to compare possible errors.
  
 これは、現状の 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>+<wrap :en>**Management → Admin tools → DB Schema check**</wrapmenu.
  
-<WRAP center round tip 60%データベースの移行が成功したかどうかを確認するには、この拡張機能を使用することをお勧めします。 </WRAP>+メニュー <wrap :ja>**管理(Management) → 管理ツル(Admin tools) → DB キーマチェック(DB Schema check)**</wrap>.
  
-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). +</WRAP>
-   * The database created is compared with the database referenced in the installation. +
-   * The temporary database is deleted.+
  
-   * 一時データベースが、インストールデータベースに必要な構造 (インストールされていバージョンよって異なりま) で作成されます。 +<WRAP center round tip 90%> データベースの移行成功したかどうかを確認するには、この拡張機能を使用るこをお勧めします。
-   * 作成されたデータベースが、インストールで参照されたデータベース比較されます。 +
-   * 一時データベースが削除されます。+
  
-{{ :wiki:pfms-admin_tools-db_schema_check.png }}+</WRAP> 
 + 
 +The operation is as follows:
  
-Enter your database access data and click the **Run test** button. For example:+操作は以下のとおりです。
  
-データベースアクセス情報を入力し、**テストの実行(Run test)** ボタンをクリックします。例:+  The user must have privileges to ''Select'', ''Drop'', ''Create'' and ''References''. Example: 
 +    <wrap :en>**DB User with privileges**</wrap>: ''root''
 +    * <wrap :en>**DB Password for this user**</wrap>: ''pandora'' or ''Pandor4!''
 +    * <wrap :en>**DB Hostname**</wrap>: ''localhost''
 +    * <wrap :en>**DB Name (testing purposes only; temporary)**</wrap>''db_test''
 +  * 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 }}+  * ユーザには、''select''、''drop''、''create''、および ''references'' 権限が必要です。例: 
 +    * <wrap :ja>**権限のある DB ユーザ(DB User with privileges)**</wrap>: ''root''
 +    * <wrap :ja>**この DB ユーザのパスワード(DB Password for this user)**</wrap>: ''pandora'' または ''Pandor4!''
 +    * <wrap :ja>**DB ホスト名(DB Hostname)**</wrap>: ''localhost''
 +    * <wrap :ja>**DB 名(一時的なテスト目的のみ)(DB Name (testing purposes only; temporary))**</wrap>: ''db_test''. 
 +  * インストールデータベースに必要な構造 (インストールされているバージョンによって異なります) を持つ一時データベースが作成されます。 
 +  * 作成されたデータベースのスキーマは、インストールで参照されるデータベースのスキーマと比較されます。 
 +  * 一時データベースが削除されます。 
 +  * 結果が表示され、何かが間違っている場合は、データベースを正しい構造にするための指示を示すメッセージが表示されます。
  
 [[ja:documentation:start|Pandora FMS ドキュメント一覧に戻る]] [[ja:documentation:start|Pandora FMS ドキュメント一覧に戻る]]
  
  • ja/documentation/pandorafms/technical_annexes/27_pfms_db_management.1719206001.txt.gz
  • 最終更新: 2024/06/24 05:13
  • by junichi