From: | Doug McNaught <doug(at)mcnaught(dot)org> |
---|---|
To: | "Kevin" <kvhui(at)msn(dot)com> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Postgreslq Driver in Java & Windows |
Date: | 2003-03-22 17:48:17 |
Message-ID: | m3fzpf47j2.fsf@varsoon.wireboard.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
"Kevin" <kvhui(at)msn(dot)com> writes:
> Hi,
>
> I am a student who just learned Java and its JDBC capability.
>
> I got a sample Java files which uses postgresql driver, I also got a
> psqlodbc driver for Windows (2000 or XP) from:
> http://gborg.postgresql.org/project/psqlodbc/genpage.php?downloads and get
> it installed.
>
> I wonder if I can run the java program in the above environment. Below are
> some sample codes extract from the sample java file.
>
> When I run this program, I got an error like "connection rejected, please
> check host and port and make sure the postmaster used the -i option when
> opening the TCP/IP networking function" (This error message is originally in
> Chinese).
>
> May I know is that a setup problem and if so, how can I correct it? Or,
> must I install a Postres database? If so, is there any trial version for
> Windows? I don't have the localhost/data_mining directory but I don't know
> where should I create this directory.
You need to have a PostgreSQL server to connect to. The current
version of the server runs on Windows using the Cygwin libraries--it's
not production quality but should be fine for development work. You
should be able to download binaries for Windows through
www.postgresql.org.
-Doug
From | Date | Subject | |
---|---|---|---|
Next Message | Doug McNaught | 2003-03-22 17:50:18 | Re: Problems with deleting data. |
Previous Message | Oliver Elphick | 2003-03-22 17:45:18 | Re: ssl |