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?

-- 
View this message in context: 
http://www.nabble.com/diff-fails-to-resolve-baseDriver-tp23876624p23876624.html
Sent from the LiquiBase - User mailing list archive at Nabble.com.


------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
Liquibase-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/liquibase-user

Reply via email to