pg.ddx.io pgsql-odbc@postgresql.org mailing list archive
help / color / mirror / Atom feedConnecting between Postgres(linux) and Access97
3+ messages / 3 participants
[nested] [flat]
* Connecting between Postgres(linux) and Access97
@ 2006-11-02 12:26 David Sturtevant <damagedcasesoftware@googlemail.com>
0 siblings, 1 reply; 3+ messages in thread
From: David Sturtevant @ 2006-11-02 12:26 UTC (permalink / raw)
To: pgsql-odbc
Hello,
I am looking for help/advice about connecting postgresql(ver 8.1.4) located
on suse10.1 and an Access97 database located on windows 2000 service pack 4,
using using python 2.4.2 which is located on the same suse10.1 box as the
postgres database
I have looked into ways to connect these systems, and I am having trouble
connecting to the Access97 database.
I have tried adodb for python, utilizing mxodbc and iODBC, and mounting the
folder that the Access database is located on using a samba mount; but on
searching through the adodb docs it turns out that this only works on a
Windows machine (so I believe). Can anyone recommend a way for me to carry
this out? I found a project called mdbtools, that used to be associated
with UNIXODBC but this appears to be a stopped project that finished before
they achieved write capabilities to the mdb file. (and the UNIXODBC project
only has software that comes with 30days evaluation to achieve this now).
I am new to this type of work and any feedback would be greatly appreciated,
Thanks
David James
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: Connecting between Postgres(linux) and Access97
@ 2006-11-06 19:10 Obe, Regina <robe.dnd@cityofboston.gov>
parent: David Sturtevant <damagedcasesoftware@googlemail.com>
0 siblings, 1 reply; 3+ messages in thread
From: Obe, Regina @ 2006-11-06 19:10 UTC (permalink / raw)
To: pgsql-odbc
Why do you want to do this? There are a couple of problems I see with this approach
1) Even if you could get an access ODBC driver to work on SUSE, you have the network path issue problem which is a pain to get working even in a pure windows environment.
2) Access 97 is a wee bit obsolete - that doesn't matter too much here I guess - but it is 3 versions behind (there is Access 2000, Access 2002, and Access 2003 that all came after it).
-- Getting back to some solutions --
1) It is much easier to get Access to talk to PostGres than it is to get Python/Unix to talk to Access.
Do you have the option of just moving all your access data to PostGres, replacing the access tables with linked PostGres tables and install a Pg ODBC driver on your windows 2000 pc. The forms etc. should pretty much work as is except for some case-sensitive issues, which I think there are workarounds for.
Thanks,
Regina
________________________________
From: pgsql-odbc-owner@postgresql.org on behalf of David Sturtevant
Sent: Thu 11/2/2006 7:26 AM
To: pgsql-odbc@postgresql.org
Subject: [ODBC] Connecting between Postgres(linux) and Access97
Hello,
I am looking for help/advice about connecting postgresql(ver 8.1.4) located on suse10.1 and an Access97 database located on windows 2000 service pack 4, using using python 2.4.2 which is located on the same suse10.1 box as the postgres database
I have looked into ways to connect these systems, and I am having trouble connecting to the Access97 database.
I have tried adodb for python, utilizing mxodbc and iODBC, and mounting the folder that the Access database is located on using a samba mount; but on searching through the adodb docs it turns out that this only works on a Windows machine (so I believe). Can anyone recommend a way for me to carry this out? I found a project called mdbtools, that used to be associated with UNIXODBC but this appears to be a stopped project that finished before they achieved write capabilities to the mdb file. (and the UNIXODBC project only has software that comes with 30days evaluation to achieve this now).
I am new to this type of work and any feedback would be greatly appreciated,
Thanks
David James
-----------------------------------------
The substance of this message, including any attachments, may be
confidential, legally
privileged and/or exempt from disclosure pursuant to Massachusetts
law. It is intended
solely for the addressee. If you received this in error, please
contact the sender and
delete the material from any computer.
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: Connecting between Postgres(linux) and Access97
@ 2006-11-06 20:16 Richard Broersma Jr <rabroersma@yahoo.com>
parent: Obe, Regina <robe.dnd@cityofboston.gov>
0 siblings, 0 replies; 3+ messages in thread
From: Richard Broersma Jr @ 2006-11-06 20:16 UTC (permalink / raw)
To: Obe, Regina <robe.dnd@cityofboston.gov>; pgsql-odbc
> Why do you want to do this? There are a couple of problems I see with this approach
> 1) Even if you could get an access ODBC driver to work on SUSE, you have the network path issue
> problem which is a pain to get working even in a pure windows environment.
>
> 2) Access 97 is a wee bit obsolete - that doesn't matter too much here I guess - but it is 3
> versions behind (there is Access 2000, Access 2002, and Access 2003 that all came after it).
>
> -- Getting back to some solutions --
> 1) It is much easier to get Access to talk to PostGres than it is to get Python/Unix to talk to
> Access.
>
> Do you have the option of just moving all your access data to PostGres, replacing the access
> tables with linked PostGres tables and install a Pg ODBC driver on your windows 2000 pc. The
> forms etc. should pretty much work as is except for some case-sensitive issues, which I think
> there are workarounds for.
Just to add, before you try anything else, check your pg_hba.conf file to besure that you have
correctly set permissions to allow clients to connects to your database. Next verify that clients
can connect. You can use the PGODBD driver to test the connection. Once this is verified you
should have not problem connecting with Access using the ODBC driver.
Regards,
Richard Broersma Jr.
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2006-11-06 20:16 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2006-11-02 12:26 Connecting between Postgres(linux) and Access97 David Sturtevant <damagedcasesoftware@googlemail.com>
2006-11-06 19:10 ` Obe, Regina <robe.dnd@cityofboston.gov>
2006-11-06 20:16 ` Richard Broersma Jr <rabroersma@yahoo.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox