dbTalk Databases Forums  

Problem using MySQL with the latest ODBC connector.

mailing.database.myodbc mailing.database.myodbc


Discuss Problem using MySQL with the latest ODBC connector. in the mailing.database.myodbc forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Pranav Peshwe
 
Posts: n/a

Default Problem using MySQL with the latest ODBC connector. - 08-13-2007 , 10:40 AM






------=_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--

Reply With Quote
  #2  
Old   
roy@connectcomputing.com
 
Posts: n/a

Default Re: Problem using MySQL with the latest ODBC connector. - 08-21-2007 , 09:09 PM






On Aug 13, 10:40 am, pranavpes... (AT) gmail (DOT) com ("Pranav Peshwe") wrote:
Quote:
------=_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--
I'm having the same problem. I also tried the v5 connector with no
luck. Does anyone have a link to the 3.51.12 version of the
connector? I would like to try that.

Thanks,



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.