If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > MYODBC Issues after upgrading to MTSQL5.0

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-16-05, 07:35
lazyTrucker lazyTrucker is offline
Registered User
 
Join Date: Dec 2005
Posts: 14
MYODBC Issues after upgrading to MTSQL5.0

Have just upgraded to MYSQL 5.0 and can only get it working using the old
MYODBC driver and updating the user table password to OLD_PASSWORD()
when using the new ODBC connector I get the following error:

Microsoft VBScript runtime (0x800A01FB)
An exception occurred: 'con.execute'

CODE:

set con =Server.CreateObject("ADODB.Connection")
con.open "Driver={MySQL Connector/ODBC v5}; Server=localhost; Database=db; Uid=user; Pwd=password;"

set rs=con.execute("SELECT id FROM table")
if (Not rs.Eof) then
do while (Not rs.Eof)
response.write "id: " & rs("id") & "<br />"
rs.MoveNext
loop
end if
rs.close
set rs = Nothing
con.close
set con = Nothing

Any suggestions are much appreciated, thnx.

Last edited by lazyTrucker; 12-16-05 at 09:54.
Reply With Quote
  #2 (permalink)  
Old 12-16-05, 11:20
jfulton jfulton is offline
Registered User
 
Join Date: Apr 2005
Location: Baltimore, MD
Posts: 297
I've heard this before, but haven't run into it yet.

A good place to start would be here .

Good luck.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On