|go ahead... be a heretic|
Perl to MS Access with DBI:ODBC on Unixby fongsaiyuk (Pilgrim)
|on Dec 28, 2000 at 20:42 UTC||Need Help??|
fongsaiyuk has asked for the
wisdom of the Perl Monks concerning the following question:
I know, yet another question about using MS Access. :) I promise to be brief. :)
Currently I have developed an application under Linux in perl that accesses a Progress database on HPUX using the OpenLink product and DBI:ODBC. This connectivity works great! OpenLink has a request broker that runs as a daemon on HPUX that you connect to from DBI:ODBC on the Linux box. The request broker then invokes a client program that contacts the Progress database. After this connection has been established, the SQL is executed.
<shameless plug> OpenLink is a great application </shameless plug>
My co-worker has been suitably impressed by this solution and has challenged me to connect Perl to a MS-Access database. Based on a little perlmonks.org research, this question is common. However, most of the questions are from people using Perl under NT. That solution seems very straightforward.
However, I'm wondering if any astute monks have been able to transfer an Access *.mdb file to a Linux box and connect to it through DBI:ODBC. If this has been done, how was the DSN specified to define the *.mdb file location? I've only used DSN's where the database connection has been established over a network connection. Is specifying a filename in the DSN even possible?
I can handle the configuration of the ODBC component but the DSN part is really confusing me.
Thanks in advance!
P.S. - here's a little tidbit about calling those predefined queries or database views that are stored in the MS Access database.