Updated on 2024-10-11 GMT+08:00

Resetting the Component Database User Password

Scenario

Default passwords for components in the MRS cluster to connect to the DBService database are random. You are advised to periodically reset the passwords of component database users to improve system O&M security.

This section applies only to MRS 3.1.2 or later. For versions earlier than MRS 3.1.2, see Changing the Password for a Component Database User.

Impact on the System

To reset passwords, you need to stop and then restart services, during which services are unavailable.

Procedure

  1. On FusionInsight Manager, click Cluster, click the name of the desired cluster, and click Services.
  2. Click the name of the service whose database user password is to be reset, for example, Kafka, and click Stop Service on the Dashboard page.

    In the displayed dialog box, enter the password of the current login user and click OK.

    After confirming the impact of stopping the service, wait until the service is stopped.

  3. On the Dashboard page, choose More > Reset Database Password.

    In the displayed dialog box, enter the password of the current login user and click OK.

    Select "I have read the information and understand the impact", and click OK.

  4. After the password is reset, click Start Service on the Dashboard page.
  5. In the displayed dialog box, click OK and wait until the service is started.