in reply to Connecting to MS Access
If you use a user DSN and then run the script as another user (e.g. with CGI): better use a system DSN if possible
But with access (and many other databases, you don't need a DSN in the DSN-Manager, just specify the file (with path) and the driver in your connect string, e.g.
my $DSN = 'driver=Microsoft Access Driver(*.mdb);dbq=d:\\path\\to\\dat +abase.mdb'; my $dbh = DBI->connect("dbi:ODBC:$DSN", '','') or die "$DBI::errstr\n";
This and more is written in perldoc DBD::ODBC ...
Best regards,
perl -e "s>>*F>e=>y)\*martinF)stronat)=>print,print v8.8.8.32.11.32"
|
|---|