Re: How to connect to a remote database
От | Jerome Alet |
---|---|
Тема | Re: How to connect to a remote database |
Дата | |
Msg-id | Pine.LNX.3.96.1000907132644.32112A-100000@cortex.unice.fr обсуждение исходный текст |
Ответ на | How to connect to a remote database (pgsql-bugs@postgresql.org) |
Список | pgsql-bugs |
Hi, this is probably not a bug. with psql you have to use the -h option e.g.: psql -h mypgserver.mydomain [mydatabase] and on mypgserver.mydomain computer you have to launch postgresql with the -i option, telling it to listen for TCP/IP connections, and check pg_hba.conf for possible restricitions. bye, Jerome ALET - alet@unice.fr - http://cortex.unice.fr/~jerome Faculte de Medecine de Nice - http://noe.unice.fr - Tel: 04 93 37 76 30 28 Avenue de Valombrose - 06107 NICE Cedex 2 - FRANCE On Thu, 7 Sep 2000 pgsql-bugs@postgresql.org wrote: > Martin Kuria (martinkuria@hotmail.com) reports a bug with a severity of 2 > The lower the number the more severe it is. > > Short Description > How to connect to a remote database > > Long Description > This may be a dumb question, but how do I connect to a remote database > using postgresql, or rather psql? > > I have trouble connecting to the remote host, to access the database what command should use to connect to the databasein remote host in the prompt, Thanks again. > > Thanks > > Martin > > > > Sample Code > > > No file was uploaded with this report >
В списке pgsql-bugs по дате отправления: