ja:documentation:pandorafms:technical_annexes:46_mysql_sha

差分

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

この比較画面へのリンク

両方とも前のリビジョン 前のリビジョン
次のリビジョン
前のリビジョン
ja:documentation:pandorafms:technical_annexes:46_mysql_sha [2025/01/22 08:15] – [EL8 / EL9] junichija:documentation:pandorafms:technical_annexes:46_mysql_sha [2025/03/10 07:40] (現在) – [概要] junichi
行 8: 行 8:
 ===== 概要 ===== ===== 概要 =====
  
-As of MySQL version 8 the hashing of database user passwords [[https://dev.mysql.com/doc/refman/8.0/en/upgrading-from-previous-series.html#upgrade-caching-sha2-password|has been changed by default]] to ''caching_sha2_password''. This method encompasses both obsolete protocols (SHA 256), as well as current and future protocols, combined with the caching capability of the entire encryption mechanism and valid comparison of user credentials.+As of MySQL version 8,  database user password hashing [[https://dev.mysql.com/doc/refman/8.0/en/upgrading-from-previous-series.html#upgrade-caching-sha2-password|has been changed by default]] to ''caching_sha2_password''. This method encompasses both obsolete protocols (SHA 256), as well as current and future protocols, combined with the caching capability of the entire encryption mechanism and valid comparison of user credentials.
  
 MySQL バージョン 8 以降、データベースユーザパスワードのハッシュはデフォルトで [[https://dev.mysql.com/doc/refman/8.0/en/upgrading-from-previous-series.html#upgrade-caching-sha2-password|]] ''caching_sha2_password'' に変更されました。この方法は、廃止されたプロトコル (SHA 256) と現在のプロトコルおよび将来のプロトコルの両方を網羅し、暗号化メカニズム全体のキャッシュ機能とユーザ資格情報の有効な比較を組み合わせます。 MySQL バージョン 8 以降、データベースユーザパスワードのハッシュはデフォルトで [[https://dev.mysql.com/doc/refman/8.0/en/upgrading-from-previous-series.html#upgrade-caching-sha2-password|]] ''caching_sha2_password'' に変更されました。この方法は、廃止されたプロトコル (SHA 256) と現在のプロトコルおよび将来のプロトコルの両方を網羅し、暗号化メカニズム全体のキャッシュ機能とユーザ資格情報の有効な比較を組み合わせます。
行 225: 行 225:
  
 The ''libmariadb3'' package must be installed. Depending on the version installed it may not come with the operating system and must be installed with the command: The ''libmariadb3'' package must be installed. Depending on the version installed it may not come with the operating system and must be installed with the command:
 +
 +''libmariadb3'' パッケージをインストールする必要があります。インストールされたバージョンによっては、オペレーティングシステムに付属していない場合があります。その場合は、次のコマンドを使用してインストールする必要があります。
  
 <code bash> <code bash>
行 232: 行 234:
  
 It is verified that the required file has been generated with the installation of the package, ''caching_sha2_password.so'': It is verified that the required file has been generated with the installation of the package, ''caching_sha2_password.so'':
 +
 +パッケージ ''caching_sha2_password.so'' のインストールにより、必要なファイルが生成されたことが確認できます。
  
 <code bash> <code bash>
行 238: 行 242:
  
 The destination folder ''/usr/lib64/mysql/plugin/'' must be created with the command: The destination folder ''/usr/lib64/mysql/plugin/'' must be created with the command:
 +
 +次のコマンドを使用して、フォルダ ''/usr/lib64/mysql/plugin/'' を作成する必要があります。
  
 <code bash> <code bash>
行 245: 行 251:
  
 Now the symbolic link must be created: Now the symbolic link must be created:
 +
 +ここで、シンボリックリンクを作成する必要があります。
  
 <code bash> <code bash>
行 251: 行 259:
  
 With these steps the server will be able to use SHA2 authentication to connect to the database. Go to [[#ks5|next step (restart Pandora FMS server)]] to finish the configuration. With these steps the server will be able to use SHA2 authentication to connect to the database. Go to [[#ks5|next step (restart Pandora FMS server)]] to finish the configuration.
 +
 +この手順により、サーバは SHA2 認証を使用してデータベースに接続できるようになります。[[#ks5|次のステップ (Pandora FMS サーバの再起動)]] に進み、設定を完了します。
  
 <wrap #ks5 /> <wrap #ks5 />
-===== Restart PFMS server =====+ 
 +===== PFMS サーバの再起動 =====
  
 To be executed: To be executed:
 +
 +以下を実行します:
  
 <code bash> <code bash>
行 263: 行 276:
  
 After a few moments, the status must be confirmed via the Web Console. (menú <wrap :en>**Management → Servers → Manage servers**</wrap>): After a few moments, the status must be confirmed via the Web Console. (menú <wrap :en>**Management → Servers → Manage servers**</wrap>):
 +
 +しばらくしたら、Web コンソールからステータスを確認します。(メニュー <wrap :ja>**管理(Management) → サーバ(Servers) → サーバの管理(Manage servers)**</wrap>):
  
 {{ :wiki:pfms_46_mysql_sha_image_050.png  }} {{ :wiki:pfms_46_mysql_sha_image_050.png  }}
  
 [[:ja:documentation:start|Pandora FMS ドキュメント一覧に戻る]] [[:ja:documentation:start|Pandora FMS ドキュメント一覧に戻る]]
 +
  • ja/documentation/pandorafms/technical_annexes/46_mysql_sha.1737533751.txt.gz
  • 最終更新: 2025/01/22 08:15
  • by junichi