pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Remote Connections via JDBC
3+ messages / 2 participants
[nested] [flat]

* Remote Connections via JDBC
@ 1998-07-01 06:30 Mark Britton <mbritton@gte.net>
  1998-07-01 07:20 ` Re: [INTERFACES] Remote Connections via JDBC Felix Morley Finch <felix@crowfix.com>
  0 siblings, 1 reply; 3+ messages in thread

From: Mark Britton @ 1998-07-01 06:30 UTC (permalink / raw)
  To: pgsql-interfaces

I have another newbie question for the interface group:

I have postgreSQL running on a Linux box and am trying to connect to it from a Windows 95 client using JDBC.

I have the postgresql JDBC driver set up on the client, but can't figure out what the connect string should be to access the databases on the Linux server.  I've scoured the postgresql docs for an example but haven't found anything.  I'm using the JDBCTest1_03 test suite to test the connection.

The url I'm using is jdbc:postgresql:linux_server.template1 where linux_server is the host name for the Linux box.  Is this right?

Thanks in advance for your help!

Mark Britton
mbritton@gte.net
No matter where you go, there you are.



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: [INTERFACES] Remote Connections via JDBC
  1998-07-01 06:30 Remote Connections via JDBC Mark Britton <mbritton@gte.net>
@ 1998-07-01 07:20 ` Felix Morley Finch <felix@crowfix.com>
  0 siblings, 0 replies; 3+ messages in thread

From: Felix Morley Finch @ 1998-07-01 07:20 UTC (permalink / raw)
  To: Mark Britton <mbritton@gte.net>; +Cc: pgsql-interfaces

>>In article <01BDA487.6EFDA9E0@britain>, Mark Britton <mbritton@gte.net> writes:

> The url I'm using is jdbc:postgresql:linux_server.template1 where linux_server is the host name for the Linux box.  Is this right?

I had mucho trouble with this until I re-re-re read the fine manual,
and found it was correct, and this is what you should use, accordin to
my working linux-on-same-host URL:

MINE	jdbc:postgresql://crowfix.com/template1
WRONG	jdbc:postgresql:linux_server/template1
RIGHT	jdbc:postgresql://linux_server/template1

I note your host name is linux_server; my /etc/hosts says crowfix.com,
so that's what I use in the URL.  YMMV.

-- 
            ... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
     Felix Finch: scarecrow repairman & rocket surgeon / felix@crowfix.com
  PGP = 91 B3 94 7C E9 E8 76 2D   E1 63 51 AA A0 48 89 2F  ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* RE: [INTERFACES] Remote Connections via JDBC
@ 1998-07-02 04:31 Mark Britton <mbritton@gte.net>
  0 siblings, 0 replies; 3+ messages in thread

From: Mark Britton @ 1998-07-02 04:31 UTC (permalink / raw)
  To: Mark Britton <mbritton@gte.net>; 'Felix Morley Finch' <felix@crowfix.com>; +Cc: pgsql-interfaces

That did the trick!  Thanks for your help!!

Mark

----------
From: 	Felix Morley Finch[SMTP:felix@crowfix.com]
Sent: 	Wednesday, July 01, 1998 1:20 AM
To: 	Mark Britton
Cc: 	'pgsql-interfaces@postgreSQL.org'
Subject: 	Re: [INTERFACES] Remote Connections via JDBC

>>In article <01BDA487.6EFDA9E0@britain>, Mark Britton <mbritton@gte.net> writes:

> The url I'm using is jdbc:postgresql:linux_server.template1 where linux_server is the host name for the Linux box.  Is this right?

I had mucho trouble with this until I re-re-re read the fine manual,
and found it was correct, and this is what you should use, accordin to
my working linux-on-same-host URL:

MINE	jdbc:postgresql://crowfix.com/template1
WRONG	jdbc:postgresql:linux_server/template1
RIGHT	jdbc:postgresql://linux_server/template1

I note your host name is linux_server; my /etc/hosts says crowfix.com,
so that's what I use in the URL.  YMMV.

-- 
            ... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
     Felix Finch: scarecrow repairman & rocket surgeon / felix@crowfix.com
  PGP = 91 B3 94 7C E9 E8 76 2D   E1 63 51 AA A0 48 89 2F  ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o






^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~1998-07-02 04:31 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
1998-07-01 06:30 Remote Connections via JDBC Mark Britton <mbritton@gte.net>
1998-07-01 07:20 ` Felix Morley Finch <felix@crowfix.com>
1998-07-02 04:31 RE: [INTERFACES] Remote Connections via JDBC Mark Britton <mbritton@gte.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