Editing the Database Connection Using the Jamf Pro Server Tools CLI

Technical Articles

Solution
Application
Content Type
Technical Documentation
Utilities & Services
ft:locale
en-US
  1. Open a command terminal.
  2. Execute the following command to view the current database settings:
    jamf-pro server config list
  3. Change the database connection settings as needed by executing the following command with the applicable flag and value. For example:
    jamf-pro server config set --database-name jamfsoftware
    Note:

    When changing the database password, you can use a secure prompt to enter the password value instead of passing the value to the flag. For example, execute jamf-pro server config set --database-password. Enter the new database password, and then press Enter

    A "configuration was updated" message is displayed.

  4. Restart Tomcat by executing the following command:
    sudo jamf-pro server restart