Re: Sqlpassthru error after update to Mysql 8
Hi Harry,
Unfortunately, I don't have Visual Foxpro to test how it works with your program.
However, there are a few things to check.
First of all, the ODBC Driver does not support named parameters such as ?Param_1, ?Param_2 etc.
The parameters placeholders have to be unnamed:
SqlCommand="Select * from Table_a where Key1=? and Key2=?"
On the other hand, Foxpro can do some additional processing for the parameters... So, at the end it might send the queries with the "?" for the parameter placeholder.
Another thing to check is to enable preparing statements on the client.
In MySQL ODBC GUI dialog tick [Details >> Misc >> [x] Prepare statements on the client]
Hope this helps.
Subject
Written By
Posted
Re: Sqlpassthru error after update to Mysql 8
October 26, 2018 04:19AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.