Your browser was unable to load all of the resources. They may have been blocked by your firewall, proxy or browser configuration.
Press Ctrl+F5 or Ctrl+Shift+R to have your browser try again.

How to migrate data from quickbuild 8 to quickbuild 10 (config by mysql) ? #4253

tung.nh1 ·

Dear managers,
When I run command

quickbuild10/bin$ ./upgrade.sh /quickbuild8

I can not upgrade quickbuild from 8 to 10. Because quickbuild 8 used mysql 5 and quickbuild 10 used mysql 8.
In file hibernate.properties quickbuild 8 config:

hibernate.dialect=org.hibernate.dialect.MySQL5InnoDBDialect
hibernate.connection.driver_class=com.mysql.jdbc.Driver

and quickbuild 10 config:

hibernate.dialect=org.hibernate.dialect.MySQL5InnoDBDialect
hibernate.connection.driver_class=com.mysql.cj.jdbc.Driver

I ran command upgrade.It is show error below:

2020-06-16 13:49:43,570 ERROR  >>> Exception in thread "main" java.lang.RuntimeException: java.lang.ClassNotFoundException: com.mysql.cj.jdbc.Driver
2020-06-16 13:49:43,570 ERROR  >>>      at com.pmease.quickbuild.bootstrap.BootstrapUtils.wrapAsUnchecked(BootstrapUtils.java:56)

Could you help me fix issue ?

  • replies 1
  • views 137
  • stars 0
robinshen ADMIN ·

Seems that some files under quickbuild10 directory has been changed. Please re-download QB10 package from www.pmease.com, extract it and then run upgrade.sh from there to see if it makes any differences.