fongsaiyuk has asked for the wisdom of the Perl Monks concerning the following question:
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Perl to MS Access with DBI:ODBC on Unix
by InfiniteSilence (Curate) on Dec 28, 2000 at 21:21 UTC | |
by coreolyn (Parson) on Dec 28, 2000 at 21:28 UTC | |
by fongsaiyuk (Pilgrim) on Dec 28, 2000 at 21:34 UTC | |
|
Re: Perl to MS Access with DBI:ODBC on Unix
by coreolyn (Parson) on Dec 28, 2000 at 20:58 UTC | |
by PsychoSpunk (Hermit) on Dec 28, 2000 at 22:39 UTC | |
by TStanley (Canon) on Dec 28, 2000 at 23:26 UTC |