| От | Rural Hunter |
|---|---|
| Тема | Re: Problem after changing the port number of postgres |
| Дата | |
| Msg-id | 5056C464.1060006@gmail.com обсуждение исходный текст |
| Ответ на | Re: Problem after changing the port number of postgres (Devrim GÜNDÜZ <devrim@gunduz.org>) |
| Список | pgsql-admin |
or set the 'PGPORT' env variable. 于 2012/9/17 14:29, Devrim GÜNDÜZ 写道: > Hi, > > On Mon, 2012-09-17 at 11:55 +0530, himanshu.joshi wrote: >> >> I have changed the default port of postgres in file >> "postgresql.conf" from 5432 to another four digit port which was not >> assigned to any one else. After the change I restarted the postgres >> as well as the system. But after changing the port while connecting >> to postgres I am getting this error: >> >> root@s14-apps:/opt/PostgresPlus/8.4SS# bin/psql -Upostgres >> psql: could not connect to server: No such file or directory >> Is the server running locally and accepting >> connections on Unix domain socket "/tmp/.s.PGSQL.5432"? > You need to pass -p parameter to psql: > > $ bin/psql -p XXXX > > Regards,
В списке pgsql-admin по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера