Re: pgadmin problem
От | Doug McNaught |
---|---|
Тема | Re: pgadmin problem |
Дата | |
Msg-id | 874qnybzhk.fsf@asmodeus.mcnaught.org обсуждение исходный текст |
Ответ на | pgadmin problem (mmd@teledavis.com) |
Список | pgsql-general |
mmd@teledavis.com writes: > I want to use pgadmin to set up some tables, rather than do all the > psql statements from the terminal. > > When I try to add a server, though, pgadmin fails to connect, and asks > whether the server is accepting TCP/IP connections on the default > port, and whether localhost is the correct servername. > > I assume that both of these ARE set to the defaults, because if I > simply type > > $ psql contacts > > I go right into psql, where I am allowed to make and alter tables. The server doesn't use TCP/IP by default. You can change this by editing the postgresql.conf file in the server's data directory (the location of which varies depending on how PG was installed) and setting 'tcpip_socket' to 'true', then restarting the server. You may also need to edit pg_hba.conf, depending on whether you're connecting from the local machine and how you have your databases set up. -Doug
В списке pgsql-general по дате отправления: