Re: MySQL via OLE DB
- From: Fred Seymorh <bquark@xxxxxxxxx>
- Date: Wed, 15 Feb 2006 23:19:43 +0100
Thank you! I got the setup from there. Unfortunately it does not work. I use that snippet of code.
var s : string;
begin
s:= 'Provider=MySqlProv.2.5;Data Source=test;Password=myone;';
s:=s + 'User ID=root;Server=localhost;'; // DB=localhost don't work
ADOConnection1.ConnectionString:=s;
ADOConnection1.LoginPrompt:=False;
ADOConnection1.Open; // raises "Unknown Error" exception
I have looked up the help file (chm) for other options in the connection string, but it did not work in any way.
Fred
Viatcheslav V. Vassiliev schrieb:
http://www.mysql.com/Downloads/Win32/MyOLEDB.exe.
http://www.mysql.com/Downloads/Win32/MyOLEDB.chm - help file
//------------------------------------------
Regards,
Vassiliev V. V.
"Fred Seymorh" <bquark@xxxxxxxxx> ???????/???????? ? ???????? ?????????: news:43f35fa5$1@xxxxxxxxxxxxxxxxxxxxxxxxxHi!
I am using Delphi i2005 Win32 to access a MySQL 5.0.12 Database. I want to use ADO and not ODBC. But I could not find an OLE DB Provider for MySQL. Some googling pointed me to http://dev.mysql.com/downloads/ but there is no OLE DB provider for use with ADO.
I am not using ADO.NET.
Does anybody know where I can download an OLE DB Provider for MySQL 5?
Thanks!
Fred
- Follow-Ups:
- Re: MySQL via OLE DB
- From: Guillem
- Re: MySQL via OLE DB
- References:
- MySQL via OLE DB
- From: Fred Seymorh
- Re: MySQL via OLE DB
- From: Viatcheslav V. Vassiliev
- MySQL via OLE DB
- Prev by Date: Re: MySQL via OLE DB
- Next by Date: Parameters in MS Access
- Previous by thread: Re: MySQL via OLE DB
- Next by thread: Re: MySQL via OLE DB
- Index(es):
Relevant Pages
|