pravlm has asked for the wisdom of the Perl Monks concerning the following question:
It throws an error likemy $DSN = "driver=Microsoft Access Driver(*.mdb);dbq=Z:\\\\temp\\Kerne +lLog.mdb;" $dbh = DBI->connect("dbi:ODBC:$DSN", '','') or die "$DBI::errstr\n";
I checked the ODBC datasource and I do see the driver name specified by me.DBI connect.... failed: [Microsoft][ODBC Driver Manager] Data source n +ame not found and no default driver specified (SQL-IM002)(DBD: db_log +in/SQLConnect err=-1) at Logparse/ParsetoDB.pm line 67
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How do I connect to MS Access database
by kennethk (Abbot) on Apr 29, 2009 at 20:57 UTC |