psql <databasename> -h <hostname/ip address> -U <username> 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) <[EMAIL PROTECTED]> > 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 [EMAIL PROTECTED] so that your > message can get through to the mailing list cleanly
begin:vcard n:Abaya;Rommel x-mozilla-html:FALSE org:Ramcar Food Group;IT adr:;;;;;; version:2.1 email;internet:[EMAIL PROTECTED] title:IT Supervisor x-mozilla-cpt:;0 fn:Rommel Abaya end:vcard
---------------------------(end of broadcast)--------------------------- TIP 2: you can get off all lists at once with the unregister command (send "unregister YourEmailAddressHere" to [EMAIL PROTECTED])