I'm sure there's something really obvious I'm missing, but I just can't
figure it out.
I've been using liquibase fine on Ubuntu, but now I'm setting it up on
our test server (windows server 2003) and it won't run. I'm not getting
an error code, just the help text so I'm not sure how to fix what I'm doing.
If I run:
D:\InetPub\working_copy\ici>c:\tools\liquibase\liquibase.bat
--defaultsFile=d:\InetPub\working_copy\ici\schema\changeset.properties
--changLogFile=d:\InetPub\working_copy\ici\schema\initialize.xml
--url=jdbc:mysql//localhost/liquibase migrate
Nothing happens
If I run:
D:\InetPub\working_copy\ici>java -jar c:\tools\liquibase\liquibase.jar
--defaultsFile=d:\InetPub\working_copy\ici\schema\changeset.properties
--changeLogFile=d:\InetPub\working_copy\ici\schema\initialize.xml
--url=jdbc:mysql://localhost/liquibase migrate
I get:
Migration Failed: Cannot find database driver: com.mysql.jdbc.Driver.
For more
information, use the --logLevel flag)
Feb 19, 2009 2:18:35 PM liquibase.commandline.Main main
SEVERE: Cannot find database driver: com.mysql.jdbc.Driver
liquibase.exception.JDBCException: java.lang.RuntimeException: Cannot
find database driver: com.mysql.jdbc.Driver
at
liquibase.commandline.CommandLineUtils.createDatabaseObject(CommandLineUtils.java:94)
at liquibase.commandline.Main.doMigration(Main.java:565)
at liquibase.commandline.Main.main(Main.java:90)
Caused by: java.lang.RuntimeException: Cannot find database driver:
com.mysql.jd
bc.Driver
at
liquibase.commandline.CommandLineUtils.createDatabaseObject(CommandLineUtils.java:75)
... 2 more
The mysql driver is in %LIQUIBASE_HOME%lib
Is there something I'm missing?
Thanks
Joelle
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Liquibase-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/liquibase-user