ja:documentation:pandorafms:technical_annexes:19_mysql_8

差分

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

この比較画面へのリンク

両方とも前のリビジョン 前のリビジョン
次のリビジョン
前のリビジョン
ja:documentation:pandorafms:technical_annexes:19_mysql_8 [2025/02/20 06:43] – [Rocky Linux 8/AlmaLinux 8/RHEL 8] junichija:documentation:pandorafms:technical_annexes:19_mysql_8 [2025/07/21 07:28] (現在) – [Rocky Linux 8/AlmaLinux 8/RHEL 8] junichi
行 45: 行 45:
 ===== Rocky Linux 8/AlmaLinux 8/RHEL 8 ===== ===== Rocky Linux 8/AlmaLinux 8/RHEL 8 =====
  
-  * Stop the PFMS server and the PFMS Software Agent:+  * Stop the PFMS server and the PFMS EndPoint:
  
-  * Pandora FMS サーバおよび Pandora FMS ソフトウアエージェントを停止します。+  * Pandora FMS サーバおよび Pandora FMS エンドポイントを停止します。
  
 <code bash> <code bash>
行 244: 行 244:
 </code> </code>
  
-  * Start the PFMS server and the PFMS Software Agent:+  * The necessary permissions (//grants//) must be added again; //if you are not logged in// to ''mysql'' as user **root** (replace ''<\_password\_>'' with the corresponding password) run:
  
-  * Pandora FMS サーバおよび Pandora FMS ソフトウアエージェントを起動します。+  * 必要な権限 (//grants//) を再度追加する必要があります。ユーザ **root** として ''mysql'' にログインしていない場合は (''<\_password\_>'' を対応するパスワードに置き換えます)、次を実行します。 
 + 
 +<code bash> 
 +mysql -uroot -p < password > 
 + 
 +</code> 
 + 
 +  * **Once logged in as root execute the following commands**: 
 +  * Deactivate the password validation plugin (**optional**). 
 + 
 +  * **root としてログインしたら、次のコマンドを実行します**: 
 +  * パスワード検証プラグインを無効にします (**オプション**)。 
 + 
 +<code sql> 
 +UNINSTALL COMPONENT 'file://component_validate_password'; 
 + 
 +</code> 
 + 
 +  * Create the login user **if it does not exist**: 
 + 
 +  * **ログインユーザが存在しない場合は** 作成します。 
 + 
 +<code sql> 
 +CREATE USER "<DBUSER>"@'%' IDENTIFIED BY "<DBPASS>"; 
 + 
 +</code> 
 + 
 +<WRAP center round tip 90%> 
 + 
 +If you want to restrict the IP address of connection to the database, you must change the ''%'' to the IP address of the connection source. 
 + 
 +</WRAP> 
 + 
 +<WRAP center round tip 90%> 
 + 
 +データベースへの接続の IP アドレスを制限する場合は、''%'' を接続元の IP アドレスに変更する必要があります。 
 + 
 +</WRAP> 
 + 
 +  * Assign the native password for ''mysql'': 
 + 
 +  * ''mysql'' のネイティブ パスワードを割り当てます。 
 + 
 +<code sql> 
 +ALTER USER "<DBUSER>"@'%' IDENTIFIED WITH mysql_native_password BY "<DBPASS>"; 
 + 
 +</code> 
 + 
 +  * Grant grants on Pandora FMS database (''pandora''): 
 + 
 +  * Pandora FMS データベース (''pandora'') に対する権限を付与します。 
 + 
 +<code sql> 
 +GRANT ALL PRIVILEGES ON pandora.* TO "<DBUSER>"@'%'; 
 + 
 +</code> 
 + 
 +  * Save changes and exit: 
 + 
 +  * 変更を保存して終了します。 
 + 
 +<code sql> 
 +flush privileges; 
 +exit 
 + 
 +</code> 
 + 
 +<WRAP center round info 90%> 
 + 
 +To change the authentication type in MySQL 8 refer to the topic «[[:en:documentation:pandorafms:technical_annexes:46_mysql_sha|Configuring SHA authentication method in MySQL]]». 
 + 
 +</WRAP> 
 + 
 +<WRAP center round info 90%> 
 + 
 +MySQL 8 で認証タイプを変更するには、トピック「[[:ja:documentation:pandorafms:technical_annexes:46_mysql_sha|MySQL での SHA 認証方法の設定]]」を参照してください。 
 + 
 +</WRAP> 
 + 
 +Once you have finished working with the database, perform the following steps: 
 + 
 +データベースでの作業が完了したら、次の手順を実行します。 
 + 
 +  * Start the PFMS server and the PFMS EndPoint: 
 + 
 +  * Pandora FMS サーバおよび Pandora FMS エンドポイントを起動します。
  
 <code bash> <code bash>
  • ja/documentation/pandorafms/technical_annexes/19_mysql_8.1740033798.txt.gz
  • 最終更新: 2025/02/20 06:43
  • by junichi