I use Liquibase (www.liquibase.org) in our MVC3 SQL Server 2008 project to manage database migration / changes. However, I come across the first hurdle: connecting to an instance of Microsoft SQL Server.
I am learning a quick start tutorial on the Liquibase site, but am exchanging mysql for SQL Server SQL
I ran this command:
liquibase --driver=sqljdbc.jar --changeLogFile="C:\Temp\ChangeLog.xml" --url="jdbc:sqlserver://localhost;databaseName=test" --username=user --password=pass migrate
And get this error:
Liquibase Update Failed: Cannot find database driver: sqljdbc.jar
I tried adding --classpath pointing to the sqljdbc driver, with no luck.
How to create or update an MS-SQL Server database using Liquibase?
Dan black
source share