Quantcast
Channel: Liquibase Forums
Viewing all articles
Browse latest Browse all 2993

Re : SQL Server example

$
0
0
Hi Steve,

I tried using generateChangeLog but I get a different error now. 

D:\Liquibase>java -jar liquibase.jar --changeLogFile="D:\Liquibase\scripts\demo.txt" --diffTypes="data" --url=jdbc:sqlserver://sql-ilp-test:1433;tempdb generateChangeLog
Liquibase generateChangeLog Failed: D:\Liquibase\LiquibaseDriverssqljdbc4.jar does not exist
SEVERE 4/28/14 11:07 AM:liquibase: D:\Liquibase\LiquibaseDriverssqljdbc4.jar does not exist
liquibase.exception.CommandLineParsingException: D:\Liquibase\LiquibaseDriverssqljdbc4.jar does not exist
        at liquibase.integration.commandline.Main.configureClassLoader(Main.java:668)
        at liquibase.integration.commandline.Main.main(Main.java:132)

Below are the steps I have done till now

1. Created a Property file 

driver:com.microsoft.sqlserver.jdbc.SQLServerDriver 
classpath="D:\Liquibase\Drivers\sqljdbc4.jar"
url=jdbc:sqlserver://sql-ilp-test:1433;tempdb 
username=test 
password=test 

2. Have a folder to load generated script.

Question
-------------
1. Which drive do you use to connect to SQL Database. 
2. In my property file I have passed this url "D:\Liquibase\Drivers\sqljdbc4.jar"
 but in the error it picks up as "D:\Liquibase\LiquibaseDriverssqljdbc4.jar " do you know what I am doing wrong ?

Thanks for you help, 
Brijesh

Viewing all articles
Browse latest Browse all 2993

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>