BVQ Table is missing in mongodb


About this task

Due to multiple installation attempts it is possible, that the table bvq is missing in the mongodb



Applies to

All Versions and Systems, further info



Procedure

Connect to the Mongo shell
in order to connect, mongosh has to be installed as well, please see Install mongosh — MongoDB Shell

 expand...
C:\Users\dkarch.SVA>mongosh -u bvq -p P@ssw0rd





show DB´s

 expand...
> show dbs



the table bvq is missing, in the picture above






create the table via the restore command

 expand...
C:\Users\dkarch.SVA>mongorestore --host bvqxxxx.xxxx.xx.de:27017 --db bvq --authenticationDatabase admin -u bvq -p XXXXXX--gzip -j 8 C:\Temp\test-backup\bvq


only if the above step is not working, you can create the table by hand

 expand...
> db.Sample.insert({"bvq" : 255 })
show dbs






select the table and exit

 expand...



> use bvq
> exit