Modifying Account and Password of External Database

  • Last update:January 11, 2024
  • Overview

    If the system is configured with external databases, connecting the external database is required every time you start a project.

    If you have directly modified the account and password of the external database, the project will fail to connect to the external database, resulting in a startup failure. This article briefly introduces how to modify the account and password of external databases correctly and provides solutions to incorrect modification.

    Modification Method

    This article provides two methods for modifying the account and the password of the external database.

    Method 1: Requiring No Migration


    iconNote:

    This method is only valid for standalone projects. 

    In a cluster environment, close all nodes and start one node to modify the password. 

    After modification, copy the db.properties file and paste it to unmodified nodes, then shut down all nodes in the cluster and restart them.

    Start the project. Log in to the decision-making system, and choose System Management > System Setting General > External Database Configured, as shown in the figure below:

    Make sure that the External Database Configuration page is open.

    Modify the account and the password of the database as needed.

    Screenshot 2023-06-16 at 14.36.19.png

    Enter the new account and password on the External Database Configuration page, do not tick Migrate Data to Database to be Enabled, and click Enable New Database.

    Method 2: Temporary Migration

    Prepare an empty database that is not related to the external database to be modified.

    Migrate the external database to the new database following the corresponding instructions. Remember to tick Migrate Data to Database to be Enabled

    Modify the account and password of the external database.

    Screenshot 2023-06-16 at 14.36.19.png

    Migrate the external database back to the original database again after modification. Remember to tick Migrate Data to Database to be Enabled

    Solutions

    If you have modified the account and the password of the external database without following the above steps, the project may fail to be started and you will automatically go to the server deployment wizard page, on which it will prompt Database Connection Exception. External Database Connection Error, as shown in the figure below:

    This chapter will briefly introduce the solutions.

    1回退JAR包平台登录失败.png

    Method 1: Resetting Account and Password

    Contact the database administrator to reset the account and the password of the external database.

    Modify the account and password of the external database following the instructions in the Modification Method section after you can normally start the project.

    Method 2: Reconfiguring External Database

    Reconfigure the external database on the server deployment wizard page.

    1回退JAR包平台登录失败 copy.png





    附件列表


    主题: System Management
    Previous
    Next
    • Helpful
    • Not helpful
    • Only read

    滑鼠選中內容,快速回饋問題

    滑鼠選中存在疑惑的內容,即可快速回饋問題,我們將會跟進處理。

    不再提示

    10s後關閉

    Get
    Help
    Online Support
    Professional technical support is provided to quickly help you solve problems.
    Online support is available from 9:00-12:00 and 13:30-17:30 on weekdays.
    Page Feedback
    You can provide suggestions and feedback for the current web page.
    Pre-Sales Consultation
    Business Consultation
    Business: international@fanruan.com
    Support: support@fanruan.com
    Page Feedback
    *Problem Type
    Cannot be empty
    Problem Description
    0/1000
    Cannot be empty

    Submitted successfully

    Network busy