Hi all -<br>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.<br><br>
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? <br><br>Any pointers are appreciated, thanks.<br>
yc<br><br><span style="font-family: courier new,monospace;">(emacs@aiel)102> {ok, Ref4} = odbc:connect("DSN=test3", []).</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
** exited: {{badmatch,{error,connection_closed}},[{erl_eval,expr,3}]} **</span><br style="font-family: courier new,monospace;"><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
=ERROR REPORT==== 3-Oct-2007::19:12:11 ===</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">** Generic server <0.245.0> terminating</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">** Last message in was {#Port<0.244>,{exit_status,23}}</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">** When Server state == {state,#Port<
0.244>,</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> {<0.243.0>,#Ref<0.0.0.2249>},</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> <0.243.0>,</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> undefined,
</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> on,</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
undefined,</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> undefined,</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> on,</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> connecting,
</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> undefined,</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
0,</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> [#Port<0.242>,#Port<0.243>],</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> #Port<0.245>,</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> #Port<
0.246>}</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace; font-weight: bold;">** Reason for termination ==</span><br style="font-family: courier new,monospace; font-weight: bold;">
<span style="font-family: courier new,monospace; font-weight: bold;">** {port_exit,collecting_of_driver_information_faild}</span><br style="font-family: courier new,monospace; font-weight: bold;"><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">=ERROR REPORT==== 3-Oct-2007::19:12:11 ===</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">Error in process <0.243.0
> on node 'emacs@aiel' with exit value: {{badmatch,{error,connection_closed}},[{erl_eval,expr,3}]}</span><br style="font-family: courier new,monospace;"><br>