If you forget the password for a Dify resource, such as a database instance, you can reset it. This topic uses an ApsaraDB RDS for PostgreSQL instance as an example.
Step 1: Reset the database password
-
In the ApsaraDB RDS console, go to the Instances page and click the ID of the target instance.
-
In the navigation pane on the left, click Accounts.
-
For the dify_user account, click Reset Password.
Step 2: Update the instance password in DMS
Log in to DMS 5.0.
Move the pointer over the
icon in the upper-left corner of the DMS console and choose . NoteIf you use the DMS console in normal mode, choose in the top navigation bar.
-
On the Instances page, find the target instance and choose in the Actions column.
-
On the Edit Instance page, update the Database Password with the new password you set in Step 1.
-
Click Save.
Step 3: Redeploy in Dify
-
Go to your Dify workspace.
-
In the navigation pane on the left, click the Resource Management
icon to open the Dify Resource Management page. -
Click Redeploy.