in reply to How to connect MS Access Database?
Try this:
my $db = "/home/test/a.mdb"; my $DSN = "driver=Microsoft Access Driver (*.mdb);dbq=$db"; my $dbh = DBI->connect("dbi:ODBC:$DSN",'','') or die "Can't connect to $DSN $DBI::errstr\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How to connect MS Access Database?
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 |