Received: from mail.ramcargroup.com (mail.ramcargroup.com [202.58.114.60]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f6H0vba10110 for ; Mon, 16 Jul 2001 20:57:38 -0400 (EDT) (envelope-from rommel.abaya@ramcargroup.com) Received: from ramcargroup.com (raid1.ramcargroup.com [133.89.0.132]) by mail.ramcargroup.com (Postfix) with ESMTP id 0B3BFF2F45; Tue, 17 Jul 2001 08:57:30 +0800 (PHT) Message-ID: <3B538CBC.5DC5A33B@ramcargroup.com> Date: Tue, 17 Jul 2001 08:54:20 +0800 From: "Rommel B. Abaya" X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.4.2-2 i686) X-Accept-Language: en MIME-Version: 1.0 To: Srinivasa R Chava Cc: pgsql-admin@postgresql.org Subject: Re: how to connect remote database References: <3B533A69.812F20F7@wcom.com> Content-Type: multipart/mixed; boundary="------------7D67B9778F7F61AFCFCDC9FC" X-Archive-Number: 200107/78 X-Sequence-Number: 1836 This is a multi-part message in MIME format. --------------7D67B9778F7F61AFCFCDC9FC Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit psql -h -U e.g. To connect to database customers on server gravy from server xxx : psql customers -h gravy -U mypassword -- rba hth Srinivasa R Chava wrote: > Hai, > How to connect the database from remote client ,using psql > In oracle we use the command like the following one at sqlplus > prompt. > Sqlplus> username/password@hostname > > How to do it in postgresql > I tried like this > psql dabasename username@hostname > > It is not working. > > Can anybody has an idea? > Thanks > chava > -- > > Srinivasa R Chava (Chava) > Application Developer > Corporate Intra/Internet Systems > WORLDCOM - http://www.worldcom.com/ - NASDAQ:WCOM > 500 Clinton Center Drive (Corporate Headquarters) > Clinton, Mississippi (MS) USA 39056 > (601)460-3122 / vnet4603122 / (800)844-1009 / FAX(601)460-8257 > > ---------------------------(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 --------------7D67B9778F7F61AFCFCDC9FC Content-Type: text/x-vcard; charset=us-ascii; name="rommel.abaya.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for Rommel B. Abaya Content-Disposition: attachment; filename="rommel.abaya.vcf" begin:vcard n:Abaya;Rommel x-mozilla-html:FALSE org:Ramcar Food Group;IT adr:;;;;;; version:2.1 email;internet:rommel.abaya@ramcargroup.com title:IT Supervisor x-mozilla-cpt:;0 fn:Rommel Abaya end:vcard --------------7D67B9778F7F61AFCFCDC9FC--