Re: Connection MySQL through ADO with MyOLEDB provider
- From: "Stephen Howe" <stephenPOINThoweATtns-globalPOINTcom>
- Date: Thu, 18 Aug 2005 22:03:38 +0100
> try {
> command->CommandText = query.data();
> recordset->Open ( (IDispatch *) command, vtMissing, adOpenStatic,
> adLockBatchOptimistic, adCmdUnknown);
> }
You need to have a connection for command object. Do you have one?
Other than this it looks fine. It is probably a MYOLEDB problem
You don't report the version number of MYOLEDB
What I would do is this:
1. See if you can find a later provider (driver) of MYOLEDB that fixes this
problem
2. Failing that, find out if this is a known problem with this provider and
if there are any workarounds.
S
.
- Follow-Ups:
- Re: Connection MySQL through ADO with MyOLEDB provider
- From: Mehran Ziadloo
- Re: Connection MySQL through ADO with MyOLEDB provider
- References:
- Connection MySQL through ADO with MyOLEDB provider
- From: Mehran Ziadloo
- Connection MySQL through ADO with MyOLEDB provider
- Prev by Date: ODBC mysql problem
- Next by Date: ADO security warning
- Previous by thread: Connection MySQL through ADO with MyOLEDB provider
- Next by thread: Re: Connection MySQL through ADO with MyOLEDB provider
- Index(es):
Relevant Pages
|
|