Skip site navigation (1) Skip section navigation (2)

Re: A doubt about java connection...

From: s0lao(at)netscape(dot)net (S(dot) L(dot))
To: sergrch(at)hotmail(dot)com
Cc: pgsql-cygwin(at)postgresql(dot)org
Subject: Re: A doubt about java connection...
Date: 2001-06-25 05:56:18
Message-ID: 3785E81B.43377F69.00013D13@netscape.net (view raw or flat)
Thread:
Lists: pgsql-cygwin
"Sergio Ramos" <sergrch(at)hotmail(dot)com> wrote:
>
> Hello, Im trying to make a jdbc connection to a cygwin postgres database. 
> The problem is that my java aplication is on windows I and made the database 
> on cygwin postgres, I dont know what driver,url,password, and user to define 
> for that the windows aplication see the cygwin database. Can you help me?
> 
> 
> Thanks in advance

http://jdbc.postgresql.org

There are no platform specifics. For your convenience:

a. URL:

    jdbc:postgresql:database
    jdbc:postgresql://host/database
    jdbc:postgresql://host:port/database

b. Driver:

    org.postgresql.Driver

c., d. Password/User:

    Those who have access to your backend. Usually the user you've been logged with when executed the initdb command, without any password.

Success,
                               SLao
__________________________________________________________________
Get your own FREE, personal Netscape Webmail account today at http://webmail.netscape.com/

In response to

pgsql-cygwin by date

Next:From: Jon WilliamsDate: 2001-06-25 19:50:30
Subject: Latest Cygwin Installer & postgres initdb
Previous:From: Sergio RamosDate: 2001-06-23 23:32:50
Subject: A doubt about java connection...

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group