Fineone stuck on test database named

because when I change user , password or authSource to non correct
mongoose will throw an error “not authorized cant connect to database”
and I used database name after the port number already as your suggest
but my case I can connected by mongoose already
but when findone() db will change back to test

I tried this on window so work on test1 but ubuntu work on test that difference here
my main server on ubuntu

and I used your syntax like this already
‘mongodb://UserName:Password@HostName:27017/test1?authMechanism=SCRAM-SHA-1&authSource=test1’

on your example you used test1 behind port number on 2 cases but first case db is test1 and 2nd case db is test
that all I see not difference command but result not the same