pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedsetting up ODBC
7+ messages / 5 participants
[nested] [flat]
* setting up ODBC
@ 2001-12-04 16:57 Jodi Kanter <jkanter@virginia.edu>
2001-12-04 18:26 ` Re: setting up ODBC Derek Neighbors <derek@gnue.org>
2001-12-04 20:10 ` Re: setting up ODBC Nick Fankhauser <nickf@ontko.com>
2001-12-05 06:32 ` Re: setting up ODBC A. L. Meyers <nospam.look@replyto.because.this.is.invalid>
0 siblings, 3 replies; 7+ messages in thread
From: Jodi Kanter @ 2001-12-04 16:57 UTC (permalink / raw)
To: pgsql-admin
I am trying to connect to postgres via ODBC so that I can use Visio. I have installed psqlODBC on my windows 2000 workstation and am trying to get to our postgres database located on a Linux machine.
Do I need to enable ODBC on the Linux side? or just configure the driver on my workstation?
I have read something about postgres automatically rejecting IP connections.
Can anyone advise?
Thanks
Jodi
_______________________________
Jodi L Kanter
BioInformatics Database Administrator
University of Virginia
(804) 924-2846
jkanter@virginia.edu
^ permalink raw reply [nested|flat] 7+ messages in thread
* Re: setting up ODBC
2001-12-04 16:57 setting up ODBC Jodi Kanter <jkanter@virginia.edu>
@ 2001-12-04 18:26 ` Derek Neighbors <derek@gnue.org>
2 siblings, 0 replies; 7+ messages in thread
From: Derek Neighbors @ 2001-12-04 18:26 UTC (permalink / raw)
To: Jodi Kanter <jkanter@virginia.edu>; +Cc: pgsql-admin
> I am trying to connect to postgres via ODBC so that I can use Visio. I have installed psqlODBC on my windows 2000 workstation and am trying to get to our postgres database located on a Linux machine.
> Do I need to enable ODBC on the Linux side? or just configure the driver on my workstation?
You need to configure ODBC only on the windows machine.
> I have read something about postgres automatically rejecting IP connections.
> Can anyone advise?
You will need to make sure that your postgres server is setup to accept
TCP/IP connections.
-Derek
^ permalink raw reply [nested|flat] 7+ messages in thread
* Re: setting up ODBC
2001-12-04 16:57 setting up ODBC Jodi Kanter <jkanter@virginia.edu>
@ 2001-12-04 20:10 ` Nick Fankhauser <nickf@ontko.com>
2 siblings, 0 replies; 7+ messages in thread
From: Nick Fankhauser @ 2001-12-04 20:10 UTC (permalink / raw)
To: Jodi Kanter <jkanter@virginia.edu>; pgsql-admin
Jodi-
Take a look at the section titled "Configuring Postgresql for JDBC" on this
page:
http://www.fankhausers.com/postgresql/jdbc/#driver_install
Although the instructions are intended for JDBC, I believe the IP connection
part is the same.
-Nick
-----Original Message-----
From: pgsql-admin-owner@postgresql.org
[mailto:pgsql-admin-owner@postgresql.org]On Behalf Of Jodi Kanter
Sent: Tuesday, December 04, 2001 11:58 AM
To: Postgres Admin List
Subject: [ADMIN] setting up ODBC
I am trying to connect to postgres via ODBC so that I can use Visio. I have
installed psqlODBC on my windows 2000 workstation and am trying to get to
our postgres database located on a Linux machine.
Do I need to enable ODBC on the Linux side? or just configure the driver on
my workstation?
I have read something about postgres automatically rejecting IP connections.
Can anyone advise?
Thanks
Jodi
_______________________________
Jodi L Kanter
BioInformatics Database Administrator
University of Virginia
(804) 924-2846
jkanter@virginia.edu
^ permalink raw reply [nested|flat] 7+ messages in thread
* Re: setting up ODBC
2001-12-04 16:57 setting up ODBC Jodi Kanter <jkanter@virginia.edu>
@ 2001-12-05 06:32 ` A. L. Meyers <nospam.look@replyto.because.this.is.invalid>
2 siblings, 0 replies; 7+ messages in thread
From: A. L. Meyers @ 2001-12-05 06:32 UTC (permalink / raw)
To: pgsql-admin
jkanter@virginia.edu (Jodi Kanter) writes:
> This is a multi-part message in MIME format.
>
> ------=_NextPart_000_00D1_01C17CBA.DEDC5EF0
> Content-Type: text/plain; charset="iso-8859-1"
> Content-Transfer-Encoding: quoted-printable
>
> I am trying to connect to postgres via ODBC so that I can use Visio. I have=
> installed psqlODBC on my windows 2000 workstation and am trying to get to =
> our postgres database located on a Linux machine.
> Do I need to enable ODBC on the Linux side? or just configure the driver on=
> my workstation?
> I have read something about postgres automatically rejecting IP connections.
> Can anyone advise?=20
> Thanks=20
> Jodi=20
> _______________________________
> Jodi L Kanter
> BioInformatics Database Administrator
> University of Virginia
> (804) 924-2846
> jkanter@virginia.edu
>
> ------=_NextPart_000_00D1_01C17CBA.DEDC5EF0
> Content-Type: text/html; charset="iso-8859-1"
> Content-Transfer-Encoding: quoted-printable
>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> <HTML><HEAD>
> <META content=3D"text/html; charset=3Diso-8859-1" http-equiv=3DContent-Type>
> <META content=3D"MSHTML 5.00.3315.2870" name=3DGENERATOR>
> <STYLE></STYLE>
> </HEAD>
> <BODY bgColor=3D#ffffdd>
> <DIV><FONT face=3DArial size=3D2>I am trying to connect to postgres via ODB=
> C so that=20
> I can use Visio. I have installed psqlODBC on my windows 2000 workstation a=
> nd am=20
> trying to get to our postgres database located on a Linux machine.</FONT></=
> DIV>
> <DIV><FONT face=3DArial size=3D2>Do I need to enable ODBC on the Linux side=
> ? or just=20
> configure the driver on my workstation?</FONT></DIV>
> <DIV><FONT face=3DArial size=3D2>I have read something about postgres autom=
> atically=20
> rejecting IP connections.</FONT></DIV>
> <DIV><FONT face=3DArial size=3D2>Can anyone advise? </FONT></DIV>
> <DIV><FONT face=3DArial size=3D2>Thanks </FONT></DIV>
> <DIV><FONT face=3DArial size=3D2>Jodi </FONT></DIV>
> <DIV>
> <DIV class=3DSection1>
> <P class=3DMsoNormal><I><SPAN=20
> style=3D"FONT-FAMILY: Arial; FONT-SIZE: 9pt; mso-bidi-font-size: 12.0pt; ms=
> o-fareast-font-family: 'MS Mincho'">_______________________________<BR>Jodi=
> =20
> L Kanter<BR>BioInformatics Database Administrator<BR>University of=20
> Virginia<BR>(804) 924-2846<BR><A=20
> href=3D"mailto:jkanter@virginia.edu">jkanter@virginia.edu</A><BR=20
> style=3D"mso-special-character: line-break"><BR=20
> style=3D"mso-special-character: line-break"><?xml:namespace prefix =3D o ns=
> =3D=20
> "urn:schemas-microsoft-com:office:office"=20
> /><o:p></o:p></SPAN></I></P></DIV></DIV></BODY></HTML>
>
> ------=_NextPart_000_00D1_01C17CBA.DEDC5EF0--
Jodi, you may not have been aware of this to date, but
newsgroups much appreciate receiving messages in plain text format.
Regards,
Lucien
--
If you receive this by error, please delete it and inform the sender.
http://www.consult-meyers.com recommends e-mail encryption using pgp.
To Big Brother Echelon from "spook":
security jihad plutonium CIA Albanian Rule Psix supercomputer
^ permalink raw reply [nested|flat] 7+ messages in thread
* setting up ODBC
@ 2001-12-04 20:59 Jodi Kanter <jkanter@virginia.edu>
2001-12-04 21:27 ` Re: setting up ODBC Derek Neighbors <derek@gnue.org>
0 siblings, 1 reply; 7+ messages in thread
From: Jodi Kanter @ 2001-12-04 20:59 UTC (permalink / raw)
To: pgsql-admin
Thanks to those that have responded to my issue. I have done all that I think was recommended:
My Windows workstation has the psqlODBC driver
I added ODBC extensions to the base catalogs
I added the -i switch to my postmaster startup in order to turn on TCPIP connections
I modified my pg_hba.conf to make sure that my PC could connect
... I am still getting the following error when trying to connect:
ODBC--call failed
could not connect to the server
could not connect to remote socket #101
any thoughts?
thanks
Jodi
_______________________________
Jodi L Kanter
BioInformatics Database Administrator
University of Virginia
(804) 924-2846
jkanter@virginia.edu
^ permalink raw reply [nested|flat] 7+ messages in thread
* Re: setting up ODBC
2001-12-04 20:59 setting up ODBC Jodi Kanter <jkanter@virginia.edu>
@ 2001-12-04 21:27 ` Derek Neighbors <derek@gnue.org>
2001-12-04 23:07 ` Re: setting up ODBC Jay Wren <jrwren@xmtp.net>
0 siblings, 1 reply; 7+ messages in thread
From: Derek Neighbors @ 2001-12-04 21:27 UTC (permalink / raw)
To: Jodi Kanter <jkanter@virginia.edu>; +Cc: pgsql-admin
> ... I am still getting the following error when trying to connect:
> ODBC--call failed
> could not connect to the server
> could not connect to remote socket #101
>
> any thoughts?
Try psql -h localhost <dbname> on the server witth postgres. If that fails
then you know you have a sockets problem and not an odbc problem.
-Derek
^ permalink raw reply [nested|flat] 7+ messages in thread
* Re: setting up ODBC
2001-12-04 20:59 setting up ODBC Jodi Kanter <jkanter@virginia.edu>
2001-12-04 21:27 ` Re: setting up ODBC Derek Neighbors <derek@gnue.org>
@ 2001-12-04 23:07 ` Jay Wren <jrwren@xmtp.net>
0 siblings, 0 replies; 7+ messages in thread
From: Jay Wren @ 2001-12-04 23:07 UTC (permalink / raw)
To: Derek Neighbors <derek@gnue.org>; +Cc: Jodi Kanter <jkanter@virginia.edu>; pgsql-admin
You can also use netstat to see if it is listening.
Postgres usually listens on port 5432 right? so examine netstat -na and
see if anything is listening on tcp port 5432.
If you are using a recent version of linux, netstat has the -p option that
will name the process listening on that port. Otherwise, use lsof to find
that.
If you find it is listening, make sure the name/password you are using
works. Try psql to verify this.
-J
On Tue, 4 Dec 2001, Derek Neighbors wrote:
> > ... I am still getting the following error when trying to connect:
> > ODBC--call failed
> > could not connect to the server
> > could not connect to remote socket #101
> >
> > any thoughts?
> Try psql -h localhost <dbname> on the server witth postgres. If that fails
> then you know you have a sockets problem and not an odbc problem.
>
> -Derek
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org
>
^ permalink raw reply [nested|flat] 7+ messages in thread
end of thread, other threads:[~2001-12-05 06:32 UTC | newest]
Thread overview: 7+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2001-12-04 16:57 setting up ODBC Jodi Kanter <jkanter@virginia.edu>
2001-12-04 18:26 ` Derek Neighbors <derek@gnue.org>
2001-12-04 20:10 ` Nick Fankhauser <nickf@ontko.com>
2001-12-05 06:32 ` A. L. Meyers <nospam.look@replyto.because.this.is.invalid>
2001-12-04 20:59 setting up ODBC Jodi Kanter <jkanter@virginia.edu>
2001-12-04 21:27 ` Derek Neighbors <derek@gnue.org>
2001-12-04 23:07 ` Jay Wren <jrwren@xmtp.net>
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