[erlang-questions] odbc: {port_exit, collecting_of_driver_information_failed}

YC <>
Wed Oct 10 08:39:11 CEST 2007


Hi all -
I'm running into the following error when using odbc to connect against
postgresql.  I'm able to do the same with mysql, and I verified the odbc
connection working through isql & DataManager.

It seems that the connection was opened but then closed again, but I'm not
sure on how to proceed as my ODBC connection is working.  Any one else seen
this issue before?

Any pointers are appreciated, thanks.
yc

()102> {ok, Ref4} = odbc:connect("DSN=test3", []).
** exited: {{badmatch,{error,connection_closed}},[{erl_eval,expr,3}]} **

=ERROR REPORT==== 3-Oct-2007::19:12:11 ===
** Generic server <0.245.0> terminating
** Last message in was {#Port<0.244>,{exit_status,23}}
** When Server state == {state,#Port<0.244>,
                               {<0.243.0>,#Ref<0.0.0.2249>},
                               <0.243.0>,
                               undefined,
                               on,
                               undefined,
                               undefined,
                               on,
                               connecting,
                               undefined,
                               0,
                               [#Port<0.242>,#Port<0.243>],
                               #Port<0.245>,
                               #Port<0.246>}
** Reason for termination ==
** {port_exit,collecting_of_driver_information_faild}

=ERROR REPORT==== 3-Oct-2007::19:12:11 ===
Error in process <0.243.0> on node '' with exit value:
{{badmatch,{error,connection_closed}},[{erl_eval,expr,3}]}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20071009/125045fd/attachment.html>


More information about the erlang-questions mailing list