Help Center/ Cloud Operations Center/ FAQs/ FAQs About Resource O&M/ Automation FAQs/ How Do I Reset the Password Without Restarting a DB Instance?
Updated on 2024-11-20 GMT+08:00

How Do I Reset the Password Without Restarting a DB Instance?

COC provides common scripts for resetting the password of an administrator or a non-administrator account. This script does not restart the instance. You can run the corresponding common script to reset the password of the instance (currently, only ECS and BMS instances are supported).

Figure 1 Executing the common script for resetting passwords

When running a common script in the COC, you need to select an instance. The prerequisites for selecting an instance are as follows:

Your resource instance information has been synchronized to COC. For details, see Synchronizing Resources.

The UniAgent has been installed for your instance and is running properly.

To install the UniAgent on an instance, you need to provide the administrator account and password of the instance. If UniAgent is not installed on your resource instance and you forget the password, you cannot install UniAgent and the common script for resetting the password cannot be executed.