The bigining of the migration works fine but then I have this exception :
2014-01-09 14:11:19,001 INFO - QuickBuild server stopped.
Exception in thread "main" java.lang.RuntimeException: java.sql.SQLException: No suitable driver found for jdbc:mysql://
localhost:3306/quickbuild
at com.pmease.quickbuild.bootstrap.BootstrapUtils.wrapAsUnchecked(BootstrapUtils.java:56)
at com.pmease.quickbuild.util.ExceptionUtils.wrapAsUnchecked(ExceptionUtils.java:82)
at com.pmease.quickbuild.util.DbUtils.getConnection(DbUtils.java:101)
at com.pmease.quickbuild.util.DbUtils.getDataVersion(DbUtils.java:129)
at com.pmease.quickbuild.Quickbuild.getVersion(Quickbuild.java:871)
at com.pmease.quickbuild.bootstrap.Migrate$3.execute(Migrate.java:288)
at com.pmease.quickbuild.Quickbuild$3.run(Quickbuild.java:605)
at java.lang.Thread.run(Unknown Source)
Caused by: java.sql.SQLException: No suitable driver found for jdbc:mysql://localhost:3306/quickbuild
at java.sql.DriverManager.getConnection(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at com.pmease.quickbuild.util.DbUtils.getConnection(DbUtils.java:96)
... 5 more
The mysql jar libs are present in the new server plugins\com.pmease.quickbuild.libs directory ... but still I have the issue, tried to force the libs on CLASSPATH with no luck.
I manage to workaround using H2 as a temp solution for backup / restore...
But is this the way to do a migration (reverting to H2 table for migration) ? or is it a bug and QB should handle the migration by itself ?
Thanks