Updating the Connection Details with the New Password

Technical Articles

Solution
Application
Content Type
Technical Documentation
Utilities & Services
ft:locale
en-US
You can update the connection details with the new password in the following ways:
  • Use the Jamf Pro Server Tools CLI

  • Manually edit the DataBase.xml file

  1. To update the connection details using the Jamf Pro Server Tools CLI do the following:
    1. Execute the following command:
      jamf-pro server config set --database-password
    2. Provide the Jamf Pro MySQL password that you set and verified earlier.
  2. To manually edit the connection details, do the following:
    1. Open the DataBase.xml file in a text editor. The DataBase.xml file is stored in the following locations:
      • Linux: /usr/local/jss/tomcat/webapps/ROOT/WEB-INF/xml/DataBase.xml

      • Windows: C:\Program Files\JSS\Tomcat\webapps\ROOT\WEB-INF\XML\DataBase.xml

      • Mac: /Library/JSS/Tomcat/webapps/ROOT/WEB-INF/xml/DataBase.xml

    2. Update the DataBasePassword element with the new password:
      <DataBasePassword>new_password</DataBasePassword>

      Substitute your information for new_password above.

    3. Save the file.