pysome has asked for the wisdom of the Perl Monks concerning the following question:
But it report a error msg:use strict; use DBI; my $dbh = DBI->connect("dbi:ODBC:driver=Microsoft Access Driver (*.mdb +, *.accdb);dbq=a.mdb") or die "Can't connect to Database: $DBI::errstr";
How fix this issues? Or any suggestion will be appreciated.DBI connect('driver=Microsoft Access Driver (*.mdb, *.accdb);dbq=a.mdb +','',...) failed: [unixODBC][Driver Manager]Data source name not foun +d, and no default driver specified (SQL-IM002) at ./test.pl line 4 Can't connect to Database: [unixODBC][Driver Manager]Data source name +not found, and no default driver specified (SQL-IM002) at ./test.pl l +ine 4.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How to connect MS Access Database?
by tachyon-II (Chaplain) on Mar 28, 2008 at 04:06 UTC | |
by pysome (Scribe) on Mar 28, 2008 at 04:14 UTC | |
by tachyon-II (Chaplain) on Mar 28, 2008 at 04:34 UTC | |
by pysome (Scribe) on Mar 28, 2008 at 05:18 UTC | |
by tachyon-II (Chaplain) on Mar 28, 2008 at 05:54 UTC | |
by Anonymous Monk on May 05, 2011 at 17:51 UTC |