[erlang-questions] ODBC Connection Error to MS Access Database file (.mdb)

austin aigbe <>
Sat May 24 12:17:41 CEST 2014


I have the ODBC driver installed but I get the IM002 error. What could be
wrong?


5> application:start(odbc).
ok
6> odbc:connect("Driver={Microsoft Access Driver
(*.mdb)};DBQ=mml_dump_20140523.mdb",[]).
{error,"[Microsoft][ODBC Driver Manager] Data source name not found and no
default driver specified SQLSTATE IS: IM002 Connection to database failed."}
7>




On Fri, May 23, 2014 at 5:44 PM, Sean Cribbs <> wrote:

> It's saying you need to start the 'odbc' application:
>
> application:start(odbc).
>
>
> On Fri, May 23, 2014 at 9:31 AM, austin aigbe <> wrote:
>
>> Hi,
>>
>> How do I use the odbc module to connect to an access database file on my
>> PC?
>> The connect function gives me the following error:
>>
>> 4> odbc:connect("Driver={Microsoft Access Driver
>> (*.mdb)};DBQ=mml_dump_20140523.mdb",[]).
>> {error,odbc_not_started}
>>
>> Thanks.
>>
>> BR,
>> Austin
>>
>>
>> _______________________________________________
>> erlang-questions mailing list
>> 
>> http://erlang.org/mailman/listinfo/erlang-questions
>>
>>
>
>
> --
> Sean Cribbs <>
> Software Engineer
> Basho Technologies, Inc.
> http://basho.com/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20140524/d0617c70/attachment.htm>


More information about the erlang-questions mailing list