Re: What may be the url we need to use to connect the Postgres Database with Java
От | Moovarkku Mudhalvan |
---|---|
Тема | Re: What may be the url we need to use to connect the Postgres Database with Java |
Дата | |
Msg-id | 005401c155f6$b4ba5270$ec01a8c0@eth.net обсуждение исходный текст |
Ответ на | Re: What may be the url we need to use to connect the Postgres Database with Java ("Nick Fankhauser" <nickf@ontko.com>) |
Ответы |
Re: What may be the url we need to use to connect the Postgres Database with Java
|
Список | pgsql-admin |
Hi Nick, Greetings. Thanks for ur mail. Permission denied when i go for the backup. The steps i am doing is 1. Logins as root 2. su postgres 3. pg_dump Databasename redirected to file name... Let me know why i am getting this error Thanks Mudhalvan M.M ----- Original Message ----- From: "Nick Fankhauser" <nickf@ontko.com> To: "Moovarkku Mudhalvan" <mudhalvan@vasunas.com>; <pgsql-admin@postgresql.org> Sent: Monday, October 15, 2001 6:44 PM Subject: Re: [ADMIN] What may be the url we need to use to connect the Postgres Database with Java > jdbc.oracle.thin@ipaddress > > like this do we have any url need to be used in Postgres if so > > let me know. > > jdbc:postgresql:database > jdbc:postgresql://host/database > jdbc:postgresql://host:port/database > > > > if left out, host defaults to localhost- this is where you put your IP > address > > if left out, port defaults to 5432 > > For example: > > jdbc:postgresql://199.199.199.199/test > > will connect you to the database named "test" on the host "199.199.199.199" > > You will also need to have the database running with tcpip_socket set to "1" > or true in the postgresql.conf file, and set up authorization in pg_hba.conf > (search on these filenames in the interactive documentation for more. > > -Nick > > -------------------------------------------------------------------------- > Nick Fankhauser nickf@ontko.com Phone 1.765.935.4283 Fax 1.765.962.9788 > Ray Ontko & Co. Software Consulting Services http://www.ontko.com/ > > > ---------------------------(end of broadcast)--------------------------- > TIP 3: if posting/reading through Usenet, please send an appropriate > subscribe-nomail command to majordomo@postgresql.org so that your > message can get through to the mailing list cleanly
В списке pgsql-admin по дате отправления: