Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Problem using MySQL with the latest ODBC connector.

From: Pranav Peshwe <pranavpeshwe(at)gmail.com>
Date: Mon Aug 13 2007 - 11:35:29 EDT


Hello,

         I'm using MySQL 5.0.27 (on Linux, FC5) and MySQL ODBC connector v3.51.19.
The MySQL client is not able to connect to the MySQL server running on the same machine. Due to a bug in v3.51.12, we'd to upgrade to 3.51.19 and, connection is failing since. Replacing the connector with the older version( 3.51.12) makes things work(without any code change anywhere).

Here is the backtrace i got:



#0 set_dbc_error (dbc=0x8166b60, state=0xb7d76420 "HY000",

    message=0x8166bb9 "Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)",

    errcode=3084346400) at error.c:180
#1 0xb7cead8e in myodbc_do_connect (dbc=0x8166b60, ds=0x81672c8) at
connect.c:146
#2 0xb7ceb118 in SQLConnect (hdbc=0x8166b60, szDSN=0xbfcf2865 "dsn",
cbDSN=25632,

    szUID=0x8151c70 "somedb", cbUID=-3, szAuth=0x8151c80 "password", cbAuth=-3) at connect.c:330
#3 0xb7eaa072 in SQLConnect () from /usr/lib/libodbc.so.1
.
.


I tried using connector v3.51.14 to minimize changes but, it too did not work.

Any pointers ? suggestions ? Would be glad to provide any more details if required.

Do you need help?X

TIA. Best regards,
Pranav



Trying to outsmart a compiler defeats much of the purpose of using one. Received on Mon Aug 13 11:35:40 2007

This archive was generated by hypermail 2.1.8 : Sun Oct 07 2007 - 10:15:29 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library