A doubt about java connection...

Поиск
Список
Период
Сортировка
Искать

A doubt about java connection...

От:
"Sergio Ramos" <sergrch@hotmail.com>
Дата:
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
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Re: A doubt about java connection...

От:
s0lao@netscape.net (S. L.)
Дата:

"Sergio Ramos"  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/
FAQ