Bug #16628 | SQLAnywhere: The list of schema names could not be retrieved (error: 0). | ||
---|---|---|---|
Submitted: | 19 Jan 2006 11:13 | Modified: | 8 Jun 2006 14:54 |
Reporter: | Andreas Götz | Email Updates: | |
Status: | Won't fix | Impact on me: | |
Category: | MySQL Migration Toolkit | Severity: | S2 (Serious) |
Version: | 1.0.22rc | OS: | Windows (WinXP SP2) |
Assigned to: | CPU Architecture: | Any |
[19 Jan 2006 11:13]
Andreas Götz
[19 Jan 2006 18:16]
Valeriy Kravchuk
Thank you for a problem report. It looks like a bug in that generic JDBC over ODBC driver... Can you try to repeat with another JDBC driver for SQLAnywhere?
[20 Jan 2006 12:23]
Andreas Götz
Mhhm. This is the generic Sun driver. How could I add another one? Thanks, Andi
[21 Jan 2006 11:28]
Valeriy Kravchuk
As for where to get other JDBC drivers, look at: http://www.sybase.com/products/informationmanagement/sqlanywherestudio or http://www.ianywhere.com/developer/technotes/sas_jdbc_driver.html I am neither Sybase expert, nor big fan, but Google search may give you more results. If you still want to use that generic JDBC over ODBC driver, please, switch on trace for the appropriate ODBC data source, try the same migration actions and upload that trace file here. Anyway, I still see no evidence of bug in any part of MySQL code in this report.
[21 Jan 2006 11:31]
Andreas Götz
Your feedback is much appreciated- could you give a hint how to enable tracing? Thanks a lot, Andi
[24 Jan 2006 8:37]
Valeriy Kravchuk
To switch on ODBC tracing, please, select: Start > Control Panel > Administration > ODBC Administrator > ... your DSN > Properties (or Settings, don't remember) > Advanced tab. Then, in case of Connector/ODBC 3.51.12 > Debug tab > Trace Driver Calls To myodbc.log. Something like this... In case of older connector version, please, upgrade first. Send that myodbc.log, if it has some errors.
[24 Jan 2006 12:37]
Andreas Götz
ODBC Trace File
Attachment: sql.LOG (text/plain), 53.31 KiB.
[24 Jan 2006 12:38]
Andreas Götz
Valeriy, added trace file, thank you. Not a big fan either- thats why having the data in MySQL will simplify things... Thanks, Andi
[25 Jan 2006 16:06]
Valeriy Kravchuk
If that error log is from MySQL ODBC-based data source, then I see no errors there (as I informed you before). Looks like the problem is NOT in MySQL code, as I informed you already. Have to tried other JDBC/ODBC drivers for SQL Anywhere?
[28 Jan 2006 9:56]
Andreas Götz
Valeriy, the trace is obviously from the source DB, so SQLAnywhere, not mysql?! Anyway, if you think there's no bug and no help then I'll have to live with that and there won't be migration from SQLAnywhere to Mysql. In this case, please close the bug. Regards, Andreas
[14 Feb 2006 9:15]
Valeriy Kravchuk
Please, try to repeat with a newer version, 1.0.23-rc, and inform about the results.
[14 Feb 2006 10:26]
Andreas Götz
Still the same problem: Connecting to source database and retrieve schemata names. Fetching schemata list. Initializing JDBC driver ... Driver class Generic Jdbc Opening connection ... Connection jdbc:odbc:SEAW Samp Db default instance;user=DBA;password=SQL The list of schema names could not be retrieved (error: 0). ReverseEngineeringGeneric.getSchemata :Column not found Details: sun.jdbc.odbc.JdbcOdbcResultSet.findColumn(Unknown Source) sun.jdbc.odbc.JdbcOdbcResultSet.getString(Unknown Source) com.mysql.grt.modules.ReverseEngineeringGeneric.getSchemata(Unknown Source) sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) java.lang.reflect.Method.invoke(Unknown Source) com.mysql.grt.Grt.callModuleFunction(Unknown Source) Sorry, Andreas
[17 Mar 2006 11:56]
Andreas Götz
Problem still exists with 1.0.25- anything I could do to help? Follow-on problem is that when reloading application state errors out, the advanced button for the logfile is not visible yet- only after next/back clicks will it appear. Thanks, Andi
[8 Jun 2006 14:54]
Valeriy Kravchuk
Looks like we have to wait for version 1.1.x to get complete support for migration from SQLAnywhere.
[13 Mar 2014 13:34]
Omer Barnir
This bug is not scheduled to be fixed at this time.