Skip to content

Instantly share code, notes, and snippets.

@goyalmohit
Last active May 19, 2022 16:22
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save goyalmohit/cd01971e6f899561e168fb0e95193450 to your computer and use it in GitHub Desktop.
Save goyalmohit/cd01971e6f899561e168fb0e95193450 to your computer and use it in GitHub Desktop.
Liquibase command to compare databases
liquibase
--driver=com.microsoft.sqlserver.jdbc.SQLServerDriver
--classpath="C:\\Program Files\\Microsoft JDBC Driver 6.0 for SQL Server\\sqljdbc_6.0\\enu\\jre8"
--url="jdbc:sqlserver://localhost:1433;databaseName=AdventureWorksProd;integratedSecurity=false;"
--username=liquibase
--password=liquibase@123
--logLevel=debug
diff
--referenceUrl="jdbc:sqlserver://localhost:1433;databaseName=AdventureWorks2017;integratedSecurity=false;"
--referenceUsername=liquibase
--referencePassword=liquibase@123
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment