Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Heya! I'm forced to use an Access database within my project, and am attempting to use DBI::ODBC to connect to my Access file (users.mdb). However, i cannot seem to find sufficient data to learn this procedure outside of the perldoc functions, this is what i have so far...
Any help is appreciated, thank you!
However, this doesn't connect, it says it "cannot connect to server". Could anybody point me in the direction of any good DBI::ODBC tutorials ?my $dsn = "DBI:ODBC:driver=Microsoft Access;dbq=users.mdb"; my $dbh = DBI->connect($dsn,'','') or die "Cannot Connect to Server";
Any help is appreciated, thank you!
BazB added code tags.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: DBI ODBC!
by matija (Priest) on Feb 24, 2004 at 19:44 UTC | |
Re: DBI ODBC!
by hardburn (Abbot) on Feb 24, 2004 at 19:32 UTC | |
Re: DBI ODBC!
by Grygonos (Chaplain) on Feb 24, 2004 at 20:03 UTC |
Back to
Seekers of Perl Wisdom