Groups | Blog | Home
all groups > dotnet odbc.net > november 2005 >

dotnet odbc.net : SQLConnection vs ODBCConnection


Maileen
11/20/2005 12:00:00 AM
Hi,

Is the SQLConnection component only for SQL Server (from MS) or can we
use it for MySQL and PostgreSQL too ?

Because when i use the OdbcConnection component, and try to debug my
application, i have a "database connection was disabled" message after a
long timeout...and i do not know what did generate this long time out.

thanks a lot,
Paul Clement
11/21/2005 12:43:12 PM
[quoted text, click to view]

¤ Hi,
¤
¤ Is the SQLConnection component only for SQL Server (from MS) or can we
¤ use it for MySQL and PostgreSQL too ?
¤

I don't believe so, no.

¤ Because when i use the OdbcConnection component, and try to debug my
¤ application, i have a "database connection was disabled" message after a
¤ long timeout...and i do not know what did generate this long time out.

I don't know what could be causing this problem. Are you using the correct connection string? What
kind of database are you having trouble with?


Paul
~~~~
luxspes
11/22/2005 1:23:09 AM
[quoted text, click to view]
It can happen if you set a breakpoint... and take too much time
analyzing something without querying the database...

[quoted text, click to view]
AddThis Social Bookmark Button