Accessing the Database Command Line

  1. Open the Kubernetes management console.
  2. Select avx in the namespace.
  3. Search for mongo-routerdb.
  4. Click on the three dots next to mongo-routerdb-0 pod and select Exec.
  5. To launch the mongo db prompt, execute the following command: <mongo>
  6. Execute the following command:
    <use admin>
  7. Execute the following command:
    db.auth("admin","<mongodbpasssword>")
    Note: The password can be taken from the value of the appviewx_mongodb_password variable from the <INSTALLATION_PATH>/.appviewx_configuration file.