ODBC from MS Access

ODBC from MS Access

am 15.07.2010 20:34:27 von Joseph Doench

This is a multi-part message in MIME format.

------=_NextPart_000_002A_01CB242A.D4A9B830
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit

I'm fairly new to PG. I'm working on implementing Project-Open, "PO", for
a non-profit organization; I am a volunteer.
I need to migrate legacy data from MS Access to the PO database (PG) - I'm
hoping that I can use Access as the front-end for the migration procedures.

FYI, I am running Access 2007.

I've read some of the PG documentation.

checked and confirmed that:

posgreSQL.conf contains listen_addresses='*'.

Added a line to pg_hba.conf containing:

host all all myIPaddress trust

..using 'postgres' or 'projop' for the database name.

..using 'postgres' as the username; no password

Getting an error message: 'No connection could be made because the target
machine actively refused it.'

Looking for clues in pgAdmin III -- would be glad to get a little help
from you.


Regards,

JPD



------=_NextPart_000_002A_01CB242A.D4A9B830
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable




charset=3Dus-ascii">
08.00.0681.000">
ODBC from MS Access




I’m =
fairly new to PG.  I’m working on implementing Project-Open, =
“PO”,  for a non-profit organization; I am a =
volunteer.



I need to =
migrate legacy data from MS Access to the PO database (PG) – =
I’m hoping that I can use Access as the front-end for the =
migration procedures.  



FYI, I am =
running Access 2007.



I’ve read =
some of the PG documentation… 



checked and =
confirmed that:





posgreSQL.conf =
contains listen_addresses=3D'*'.



Added a line to =
pg_hba.conf containing:



FACE=3D"Calibri">host FACE=3D"Calibri">     LANG=3D"en-us"> all LANG=3D"en-us"> FACE=3D"Calibri">     LANG=3D"en-us"> all LANG=3D"en-us"> FACE=3D"Calibri">      LANG=3D"en-us"> my LANG=3D"en-us">I LANG=3D"en-us">Paddress LANG=3D"en-us"> FACE=3D"Calibri">       LANG=3D"en-us"> trust





FACE=3D"Calibri">… FACE=3D"Calibri">using FACE=3D"Calibri">‘ FACE=3D"Calibri">postgres FACE=3D"Calibri">’ FACE=3D"Calibri">  or FACE=3D"Calibri">‘ FACE=3D"Calibri">projop FACE=3D"Calibri">’ FACE=3D"Calibri">  for the database name. LANG=3D"en-us">



FACE=3D"Calibri">… FACE=3D"Calibri">using FACE=3D"Calibri">‘ FACE=3D"Calibri">postgres FACE=3D"Calibri">’ FACE=3D"Calibri"> as the username;  no password LANG=3D"en-us">



Getting an =
error message:
LANG=3D"en-us"> =
'No connection could be =
made because the target machine actively refused it.
LANG=3D"en-us"> LANG=3D"en-us"> FACE=3D"Arial">’ LANG=3D"en-us"> LANG=3D"en">



FACE=3D"Arial">Looking for clues in pgAdmin III    -- =
would be glad to get a little help from
LANG=3D"en-us"> LANG=3D"en-us"> SIZE=3D2 FACE=3D"Arial">you LANG=3D"en-us"> LANG=3D"en-us"> FACE=3D"Arial">…







FACE=3D"Calibri">Regards,



FACE=3D"Calibri">JPD







------=_NextPart_000_002A_01CB242A.D4A9B830--

Re: ODBC from MS Access

am 15.07.2010 20:49:39 von Richard Broersma

On Thu, Jul 15, 2010 at 11:34 AM, Joseph Doench wrot=
e:


> FYI, I am running Access 2007.
>
> I=92ve read some of the PG documentation=85
>
> checked and confirmed that:
>
> posgreSQL.conf contains listen_addresses=3D'*'.
>
> Added a line to pg_hba.conf containing:
>
> host      all      all     =A0 myIPaddress   =
     trust
>
> =85using =91postgres’  or =91projop’  for the database name.
>
> =85using =91postgres=92 as the username;=A0 no password
>
> Getting an error message: 'No connection could be made because the target
> machine actively refused it.=92


Are you able to log in locally using psql with these credentials?



--=20
Regards,
Richard Broersma Jr.

Visit the Los Angeles PostgreSQL Users Group (LAPUG)
http://pugs.postgresql.org/lapug

--=20
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc

Re: ODBC from MS Access

am 15.07.2010 23:14:27 von reedstrm

On Thu, Jul 15, 2010 at 11:49:39AM -0700, Richard Broersma wrote:
> On Thu, Jul 15, 2010 at 11:34 AM, Joseph Doench =
wrote:
>=20
>=20
> > FYI, I am running Access 2007.
> >
> > Iâ€=99ve read some of the PG documentationâ€=A6
> >
> > checked and confirmed that:
> >
> > posgreSQL.conf contains listen_addresses=3D'*'.
> >
> > Added a line to pg_hba.conf containing:
> >
> > host      all      all  =
     myIPaddress       =
trust
> >
> > â€=A6using â€=98postgres’Â=A0 or â€=98projop=E2=
€™Â  for the database name.
> >
> > â€=A6using â€=98postgresâ€=99 as the username;  no p=
assword
> >
> > Getting an error message: 'No connection could be made because the ta=
rget
> > machine actively refused it.â€=99
>=20
>=20
> Are you able to log in locally using psql with these credentials?

And did you restart the postmaster after adding the lines to
pg_hba.conf? Also, realize that the first line in pg_hba.conf that
matches your access attempt is the one that matters: if you tacked that
on at the end, there's likely an earlier line that's rejecting you.

Ross
--=20
Ross Reedstrom, Ph.D. reedstrm@rice.edu
Systems Engineer & Admin, Research Scientist phone: 713-348-6166
The Connexions Project http://cnx.org fax: 713-348-3665
Rice University MS-375, Houston, TX 77005
GPG Key fingerprint =3D F023 82C8 9B0E 2CC6 0D8E F888 D3AE 810E 88F0 BED=
E

--=20
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc