ODBC connection fails

Vlad Dumitrescu <>
Thu Sep 11 17:09:22 CEST 2003


Hi,

> But you did get an error message! E.i. {error,connection_closed} as
> the connection was terminated in an abnormal way.

Yes, only after sending I realized there was an additional crash due to
trying to match the reply with {ok, Ref}.


> Humm ... do you mean that when you do:
>
>
odbc:connect("DSN=vlad_test;UID=sysdba;PWD=masterkey",[{scrollable_cursors,
> off}]).
>
> You get a connection ?
>
> But when you do:
>
> odbc:connect("DSN=vlad_test;UID=sysdba;PWD=masterkey",[]).
>
> you get {error,connection_closed} ?

Exactly. Ant this is valid for both Firebird 1.4 and Oracle 9.02.

regards,
Vlad



More information about the erlang-questions mailing list