Change DB Password
About this task
the Password of the MongoDB User has to changed
Applies to
All BVQ versions
Procedure
Stop all BVQ services but "bvq-mongodb"
Connect to the mongo Shell (use your host and specific credentials)
C:\>mongosh -u bvq -p P@ssw0rd
Current Mongosh Log ID: 65e5f78046a15fbd5382738d
Connecting to: mongodb://<credentials>@127.0.0.1:27017/?directConnection=true&serverSelectionTimeoutMS=2000&appName=mongosh+2.1.5
Using MongoDB: 6.0.11
Using Mongosh: 2.1.5
For mongosh info see: https://docs.mongodb.com/mongodb-shell/
Switch to db admin
> use admin
switched to db admin>
Change Password
> db.changeUserPassword("bvq", "NEW_PASSWORD")
>
Exit mongo Shell
> exit
bye
Verify the Password
C:\>mongosh --host IPLOCALHOST--authenticationDatabase admin -u bvq -p NEW_PASSWORD
MongoDB shell version v4.4.3
connecting to: mongodb://127.0.0.1:27017/?compressors=disabled&gssapiServiceName=mongodb
Exit mongo Shell
> exit
bye
Use existing core installer or a even newer core installer
Use the default values for all but the Database entries
Enter the new DB credentials for the DB and complete the installation
As you have only changed the DB Credentials, your BVQ User is still unchanged