Bug #23941 Can't connect to DSN using Mysql-connector-odbc-5.00.06-beta-gpl-win32
Submitted: 3 Nov 2006 13:41 Modified: 23 Nov 2006 7:47
Reporter: Jorge Paván Email Updates:
Status: Not a Bug Impact on me:
None 
Category:Connector / ODBC Severity:S1 (Critical)
Version:5.00.06 OS:Windows (Windows XP)
Assigned to: CPU Architecture:Any

[3 Nov 2006 13:41] Jorge Paván
Description:
I define an ODBC DNS to a MySQL 5.0.26 database. When I attempt connect to the database with this DNS from PowerBuilder 9 or 6 or Excel I obtain: "An error ocurred, yet no message was returned by the database driver." or (in excel) "ODBC General Error" and "Impossible read this file."

How to repeat:
Define a DNS in ODBC with MySQL Connector ODBC 5.00.06 and try to obtain data of database from Excel.
[7 Nov 2006 11:44] Tonci Grgin
Jorge, sorry for the delay but I have troubles installing as you can see in BUG#24038...
[8 Nov 2006 15:30] Jess Balint
Jorge - If you have a chance, can you please create an ODBC trace file by enabling tracing in the ODBC administrator before you run either of your applications? This would help alot in diagnosing the problem.
Thanks.
[8 Nov 2006 22:09] Jorge Paván
Trace file.

Attachment: SQL.LOG (application/octet-stream, text), 36.65 KiB.

[8 Nov 2006 22:12] Jorge Paván
Jess: here is the trace (I missed attach it in my first submission).
Regards.
             jorge.
[9 Nov 2006 12:30] Jorge Paván
Trace file.

Attachment: SQL1.LOG (application/octet-stream, text), 119.79 KiB.

[9 Nov 2006 12:32] Jorge Paván
Jess: I downloaded the new version 5.00.07 and the error has changed. When I intent retrieve data with excel (via MS Query), now the driver show the tables (only when I select the option "System tables"), but it say: "1054 Unknown column 'table_0' in 'field list'".
I attach the log file.
[23 Nov 2006 7:47] Tonci Grgin
Hi Jorge. Fixed in 5.00.09.
Environment:
  MySQL server 5.0.27BK on Win XP Pro SP2 localhost
  MySQL connector/ODBC 5.00.09
  MS Excel 2003