diff fails to resolve baseDriver
I am using version 1.9.3 and cannot generate a changelog diff.
liquibase.properties:
changeLogFile=testChangeLog.xml
username=root
password=asd
url=jdbc\:mysql\://localhost\:3306/enterprise_db
classpath=mysql-connector-java-5.1.6.jar
driver=com.mysql.jdbc.Driver
command line:
liquibase.bat diff --baseUrl=jdbc\:mysql\://localhost\:3306/base_enterprise_db --baseDriver=com.mysql.jdbc.Driver --baseUsername=xxx --basePassword=xxx
If I do not specify the (optional) baseDriver, I get:
"Migration Failed: Cannot find database driver: com.sybase.jdbc3.jdbc.SybDriver"
(It seems to default to the SybDriver instead of picking up the driver specified in properties.)
If I do specify the baseDriver, I get:
"Migration Failed: Connection could not be created to jdbc\:mysql\://localhost\:3306/base_enterprise_db with driver java.lang.String. Possibly the wrong driver for the given database URL"
This is the same driver set in the properties (which works fine if I just do a liquibase.bat generateChangeLog )
Any suggestions?