Re: Delphi 7, MySQL and ADO
- From: "Guillem" <guillemvicens@xxxxxxxxxxxxxxxxxx>
- Date: Mon, 11 Apr 2005 11:04:30 +0200
Hi,
"A.Afonso" <aafonso@xxxxxxxxx> escribió en el mensaje
news:42569c8c@xxxxxxxxxxxxxxxxxxxxxxxxx
> Hi all,
>
> Is that combination (Delphi 7, MySQl and ADO) possible (reliable)?.
It can work and not badly, yes.
> If so. What's the way?.
Theoretically you should use a specific OLE DB provider for MySQL, so that
ADO could be used to access it. The problem lies in the fact that the OLE DB
provider from www.MySQL.com is from year 2001 and does not work correctly.
In fact, it causes a lot of strange problems (own experience...), so if you
want to use MySQL with ADO you'll have to do it through the ODBC, which adds
an extra layer but is AFAIK the only way (if someone knows a good OLE DB
provider for MySQL please tell me)
To be more concrete, when you create your connection string, you should
select the ODBC connection. Check www.connectionstrings.com to see which one
fits your app better.
--
Best regards :)
Guillem Vicens
Dep. informática Green Service SA
guillemvicens@xxxxxxxxxxxxxxxxxx
www.clubgreenoasis.com
.
- References:
- Delphi 7, MySQL and ADO
- From: A.Afonso
- Delphi 7, MySQL and ADO
- Prev by Date: Re: Access to file DBase with ADO
- Next by Date: Ado Exception
- Previous by thread: Delphi 7, MySQL and ADO
- Next by thread: Accessing field data -D7
- Index(es):
Relevant Pages
|