Skip to main content

Set New MongoDB Credentials

Follow these steps to reset your MongoDB credentials on Server.

Set New Embedded MongoDB Credentials

Follow these steps to reset your MongoDB credentials on Servers using the embedded version of MongoDB.

  1. Stop AlteryxService.

  2. Execute the following command* to update the non-admin password:

    alteryxservice setemongopassword={password}

  3. Execute the following command* to update the admin password:

    alteryxservice setemongoadminpassword={password}

  4. Start AlteryxService.

*Another option how to reset your MongoDB credentials on Server is going back to your Alteryx System Settings and update values there. For more information, go to Server UI and Controller.

Set New Advanced MongoDB Credentials

Follow these steps to reset your MongoDB credentials on Servers using the advanced version of MongoDB.

  1. Stop AlteryxService.

  2. Execute the following command* to update the credentials for your DB connection:

    setmongoconnectioncontroller={value}

  3. Start AlteryxService.

*Another option how to reset your MongoDB credentials on Server is going back to your Alteryx System Settings and update values there. For more information, go to Server UI and Controller.