MySQL Migr Toolkit, Generic JDBC ".. schema names could not be retrieved (error: 0)."

Reply

Join Date: Nov 2008
Posts: 1
Reputation: bz029 is an unknown quantity at this point 
Solved Threads: 0
bz029 bz029 is offline Offline
Newbie Poster

MySQL Migr Toolkit, Generic JDBC ".. schema names could not be retrieved (error: 0)."

 
0
  #1
Nov 3rd, 2008
What I have done/tried:

1) Download JDBC driver from Centura/Gupta/Unify website. Called and confirmed the JDBC driver is backwards compatable with sqlbase 7.6
2) Put jdbc file into mysql migration toolkit lib directory: C:\Program Files\MySQL\MySQL Tools for 5.0\java\lib\SQLBaseJDBC.jar
3) Open MySQL Migration Manager, configure:
- source database
Database System: Generic JDBC
Class Name: SQLBaseJDBC.jar
Connection String: jdbc:sqlbase://localhost[:2155]/pos [;ims=;cms=]
-target database
Direct MySQL, etc...

4) Result Log:
  1. Connecting to source database AND retrieve schemata names.
  2. The list of schema names could NOT be retrieved (error: 0).
  3. ReverseEngineeringGeneric.getSchemata :SQLBaseJDBC.jar
  4. Details:
  5. java.net.URLClassLoader$1.run(Unknown Source)
  6. java.security.AccessController.doPrivileged(Native Method)
  7. java.net.URLClassLoader.findClass(Unknown Source)
  8. java.lang.ClassLoader.loadClass(Unknown Source)
  9. sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
  10. java.lang.ClassLoader.loadClass(Unknown Source)
  11. java.lang.ClassLoader.loadClassInternal(Unknown Source)
  12. java.lang.Class.forName0(Native Method)
  13. java.lang.Class.forName(Unknown Source)
  14. com.mysql.grt.modules.ReverseEngineeringGeneric.establishConnection(ReverseEngineeringGeneric.java:84)
  15. com.mysql.grt.modules.ReverseEngineeringGeneric.getSchemata(ReverseEngineeringGeneric.java:230)
  16. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  17. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  18. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  19. java.lang.reflect.Method.invoke(Unknown Source)
  20. com.mysql.grt.Grt.callModuleFunction(Unknown Source)

I am not sure how to troubleshoot this from here, do i need to troubleshoot the JDBC class code? Can anyone provide deeper insight into this issue for me?

Before it was not using the driver, since i configure the Class Name this way and put the file in the lib/ dir of the toolkit, it appears its using the correct driver (and connecting? It's not giving the same error about the driver not loading .... ) but cannot pull the database schema ....
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC