Connecting postgreSQL using JDBC

Поиск
Список
Период
Сортировка
От Howard
Тема Connecting postgreSQL using JDBC
Дата
Msg-id 8jbrkj$7n26@imsp212.netvigator.com
обсуждение исходный текст
Ответы Re: Connecting postgreSQL using JDBC
Список pgsql-general
I have just tried a sample Java program. It connects the PostgreSQL through
the JDBC. I ran it on the postgreSQL machine. It works fine. But, when I
tried to run it in another machine and connecting the database through the
network. The connection was refused. I have no idea what is wrong.

postgreSQL:
    startup with 'postmaster -i'
java program:
    ...DriverManager.getConnection ("jdbc:postgresql:webtest", "nobody",
"");
where webtest is my testing database name.

-- Howard



В списке pgsql-general по дате отправления:

Предыдущее
От: Richard Harvey Chapman
Дата:
Сообщение: Inserting into views
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Inserting into views