Re: MySQL via OLE DB
- From: "Guillem" <guillemvicens-nospam@xxxxxxxxxxxxxxxxxx>
- Date: 16 Feb 2006 05:21:24 -0700
Fred Seymorh wrote:
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
see following URLs
http://www.connectionstrings.com
http://dev.mysql.com/doc/refman/5.0/en/connection-parameters.html
Still, I'm curious about how it will work as I tried a long time ago
(with version 4.0.12) and had a lot of problems. Finally decided to do
it without OLE DB provider :(
Good luck
--
Best regards :)
Guillem Vicens Meier
Dep. Informática Green Service S.A.
www.clubgreenoasis.com
--
Contribute to the Indy Docs project: http://docs.indyproject.org
--
In order to contact me remove the -nospam
.
- References:
- MySQL via OLE DB
- From: Fred Seymorh
- Re: MySQL via OLE DB
- From: Viatcheslav V. Vassiliev
- Re: MySQL via OLE DB
- From: Fred Seymorh
- MySQL via OLE DB
- Prev by Date: Estimate space freed up by compacting MS Access
- Next by Date: Field captions from MS Access
- Previous by thread: Re: MySQL via OLE DB
- Next by thread: Parameters in MS Access
- Index(es):
Relevant Pages
|