# Issue while connecting to mongodb

**URL:** <https://forum.liquibase.org/t/issue-while-connecting-to-mongodb/10345>\
**Category:** Uncategorized\
**Created:** [March 27, 2025, 5:45am UTC](https://forum.liquibase.org/t/issue-while-connecting-to-mongodb/10345 "2025-03-27T05:45:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kumar](https://avatars.discourse-cdn.com/v4/letter/k/9f8e36/32.png) [@Kumar](https://forum.liquibase.org/u/Kumar)\
**Post date:** [March 27, 2025, 5:45am UTC](https://forum.liquibase.org/t/issue-while-connecting-to-mongodb/10345/1 "2025-03-27T05:45:20Z")

</div>

I am using following command 🙂

```auto
 liquibase --url="mongodb://UNAME:XXX@host:27020/?authMechanism=PLAIN&replicaSet=replicasetname&authSource=$external" --searchPath="D:\AzDOAgents\agent6\_work\965\s\Database\GSSP" --changeLogFile="changeset_master.xml" validate

```

I am seeing following error 🙂 with both doublequotes and single quotes

Each argument contains the corresponding ‘configuration key’ in parentheses. As an alternative to passing values on the command line, these keys can be used as a basis for configuration settings in other locations.

Available configuration locations, in order of priority:

- Command line arguments (argument name in --help)
- Java system properties (configuration key listed above)
- Environment values (env variable listed above)
- Defaults file (configuration key OR argument name)

Full documentation is available at  
[https://docs.liquibase.com](https://docs.liquibase.com)  
‘replicaSet’ is not recognized as an internal or external command,  
operable program or batch file.  
‘authSource’ is not recognized as an internal or external command,  
operable program or batch file.

FYI:  
mongoshell installed on my windows machine where I am testing .
