差分
このページの2つのバージョン間の差分を表示します。
両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン | ||
ja:documentation:pandorafms:technical_annexes:19_mysql_8 [2025/02/20 06:43] – [Rocky Linux 8/AlmaLinux 8/RHEL 8] junichi | ja:documentation:pandorafms:technical_annexes:19_mysql_8 [2025/02/20 06:50] (現在) – [Rocky Linux 8/AlmaLinux 8/RHEL 8] junichi | ||
---|---|---|---|
行 243: | 行 243: | ||
</ | </ | ||
+ | |||
+ | * The necessary permissions (// | ||
+ | |||
+ | * 必要な権限 (// | ||
+ | |||
+ | <code bash> | ||
+ | mysql -uroot -p < password > | ||
+ | |||
+ | </ | ||
+ | |||
+ | * **Once logged in as root execute the following commands**: | ||
+ | * Deactivate the password validation plugin (**optional**). | ||
+ | |||
+ | * **root としてログインしたら、次のコマンドを実行します**: | ||
+ | * パスワード検証プラグインを無効にします (**オプション**)。 | ||
+ | |||
+ | <code sql> | ||
+ | UNINSTALL COMPONENT ' | ||
+ | |||
+ | </ | ||
+ | |||
+ | * Create the login user **if it does not exist**: | ||
+ | |||
+ | * **ログインユーザが存在しない場合は** 作成します。 | ||
+ | |||
+ | <code sql> | ||
+ | CREATE USER "< | ||
+ | |||
+ | </ | ||
+ | |||
+ | <WRAP center round tip 90%> | ||
+ | |||
+ | If you want to restrict the IP address of connection to the database, you must change the '' | ||
+ | |||
+ | </ | ||
+ | |||
+ | <WRAP center round tip 90%> | ||
+ | |||
+ | データベースへの接続の IP アドレスを制限する場合は、'' | ||
+ | |||
+ | </ | ||
+ | |||
+ | * Assign the native password for '' | ||
+ | |||
+ | * '' | ||
+ | |||
+ | <code sql> | ||
+ | ALTER USER "< | ||
+ | |||
+ | </ | ||
+ | |||
+ | * Grant grants on Pandora FMS database ('' | ||
+ | |||
+ | * Pandora FMS データベース ('' | ||
+ | |||
+ | <code sql> | ||
+ | GRANT ALL PRIVILEGES ON pandora.* TO "< | ||
+ | |||
+ | </ | ||
+ | |||
+ | * Save changes and exit: | ||
+ | |||
+ | * 変更を保存して終了します。 | ||
+ | |||
+ | <code sql> | ||
+ | flush privileges; | ||
+ | exit | ||
+ | |||
+ | </ | ||
+ | |||
+ | <WRAP center round info 90%> | ||
+ | |||
+ | To change the authentication type in MySQL 8 refer to the topic «[[: | ||
+ | |||
+ | </ | ||
+ | |||
+ | <WRAP center round info 90%> | ||
+ | |||
+ | MySQL 8 で認証タイプを変更するには、トピック「[[: | ||
+ | |||
+ | </ | ||
+ | |||
+ | Once you have finished working with the database, perform the following steps: | ||
+ | |||
+ | データベースでの作業が完了したら、次の手順を実行します。 | ||
* Start the PFMS server and the PFMS Software Agent: | * Start the PFMS server and the PFMS Software Agent: |