NextGen Knowledge Center

Recover from a Forgotten Recovery Username / Password

If you lose the recovery username or password, you can use database queries to manually reset the recover account credentials, or you can disable Lightweight Directory Access Protocol (LDAP).

If you cannot log on to Mirth® Connect by NextGen Healthcare and forgot your Lightweight Directory Access Protocol (LDAP) recovery username or password, you must reset the credentials or disable LDAP.

  • If you have access to the Mirth® Connect database, manually reset the recovery account credentials. To reset the recovery username and password:
    1. Connect to the database by using the connection information in the database.url entry in the /conf/mirth.properties file in the Mirth® Connect home folder.
      database.url = jdbc:postgresql://localhost:5432/mirthdb
    2. Execute the following queries to set the recovery username to recovery and also set the password to recovery:
      UPDATE configuration SET value = 'recovery' WHERE name = 'recoveryUsername' AND category = 'LDAP Authorization';
       UPDATE configuration SET value = '2pHwAZ0tv+cNN696FQ8y6t6sLl8IeknuIOh9327Nvmt+kMeDh2s4zQ==' WHERE name = 'recoveryPassword' AND category = 'LDAP Authorization';
    3. Restart the Mirth® Connect server, log on to the Mirth® Connect administrator, and change the recovery user password to the desired value.
  • To disable LDAP, execute the following query:
    DELETE FROM configuration WHERE category = 'LDAP Authorization';