Re: Connect to MySQL 4.1 via ADO (ODBC)
- From: Bolla Sándor <bolla@xxxxxxxxx>
- Date: Tue, 02 May 2006 14:32:47 +0200
Guillem írta:
Bolla Sándor wrote:Thanks for the answer.
Hi there, does anybody successfully connected to MySQL4.1.x with ADO
in D2005. I tried it more than ones, but after setting successfully
in the User DSN (test OK), in the Delphi IDE I get the error: (I
don't know exactly in English) 'Catastrophe error', maybe
Solution?
thx
Alex
Bolla and Graham,
I would suggest to check following:
- that the ADO version is the last one. IIRC it should be v2.8 SP1. You
can get an utility to check it from
http://msdn.microsoft.com/data/mdac/downloads/default.aspx
- In case you are developing/deploying on XP, there was an issue in
case of installing the Windows XP SP2 package. More info at
http://www.macropool.com/en/download/mdac_xp_sp2.html
- if you use ODBC, make sure that the MyODBC version is the last one.
You can get it from
http://dev.mysql.com/downloads/connector/odbc/3.51.html
- Also check the connection string. It can easily become a source of
problems if not well configured. More info at
http://www.connectionstrings.com/
http://dev.mysql.com/doc/refman/5.0/en/connection-parameters.html
Btw, in case you use ADO+ODBC I would also suggest to consider the
possibility of use some native access components since they will be
faster than the combination of 2 layers as ADO and ODBC. Jerry already
suggested a good one. Besides, ODBC is no longer developed by Microsoft
and already deprecated, and remains only for compatibility purposes.
Good luck to both
I will look for them, meanwhile the Problem is solved using only the User DSN without extra connection string.
Bye Alex
.
- References:
- Re: Connect to MySQL 4.1 via ADO (ODBC)
- From: Guillem
- Re: Connect to MySQL 4.1 via ADO (ODBC)
- Prev by Date: Re: ADOConnection Question
- Next by Date: Re: Connect to MySQL 4.1 via ADO (ODBC)
- Previous by thread: Re: Connect to MySQL 4.1 via ADO (ODBC)
- Next by thread: Re: Connect to MySQL 4.1 via ADO (ODBC)
- Index(es):
Relevant Pages
|