Problem using MySQL with the latest ODBC connector.
am 13.08.2007 17:35:29 von Pranav Peshwe------=_Part_53761_30709314.1187019329229
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
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.
TIA.
Best regards,
Pranav
------------------------------------------------------------ ----------------------------------
Trying to outsmart a compiler defeats much of the purpose of using one.
------=_Part_53761_30709314.1187019329229--