Hello,
I am trying to use liquibase-mongodb extension with Liquibase-maven -plugin
following are the versions i am using :
<liquibase-core.version>4.23.0</liquibase-core.version>
<liquibase-maven-plugin.version>4.23.0</liquibase-maven-plugin.version>
<liquibase-mongodb.version>4.23.0</liquibase-mongodb.version>
Below is my property file:
changeLogFile=src/main/resources/db/master.xml
url=mongodb://Insight.com:2052/web_db?authSource=web_db
username=user
password:password
driver=liquibase.ext.mongodb.database.MongoClientDriver
But when i try to execute using : mvn clean install it gives my this error:
[ERROR] Error setting up or running Liquibase:
[ERROR] liquibase.exception.LockException: liquibase.exception.DatabaseException: Could not execute: Command failed with error 13 (Unauthorized): 'not authorized on web_db to execute command
I am sure the user i am using has read and write both permissions, i am able to login with that user and execute all sort of DDL and DML. but its not working from liquibase.
Can someone please help ?
am i using the correct configurations?