Re: failing to connect to postgresql with php
От | Viktor Bojović |
---|---|
Тема | Re: failing to connect to postgresql with php |
Дата | |
Msg-id | AANLkTimGVJ5AdJuTARm0pcAvbHCXRonZPH+6a1T0RyGd@mail.gmail.com обсуждение исходный текст |
Ответ на | failing to connect to postgresql with php (victor katemana <developervickatg@gmail.com>) |
Список | pgsql-sql |
<br /><br /><div class="gmail_quote">On Mon, Jan 17, 2011 at 9:42 AM, victor katemana <span dir="ltr"><<a href="mailto:developervickatg@gmail.com">developervickatg@gmail.com</a>></span>wrote:<br /><blockquote class="gmail_quote"style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"> i haveinstalled postgres 8.4 server in ubuntu 10.04, clearly following all procedures. what is disappointing me i cant establishconnection to the database server when am configuring postgres with php. whenever i use this postgres database functioni dont even receive an error message. the server just remains quite. more on than when i execute the command <br/><br /><code> #psql template1 on my terminal </code>i receive this error message<br /><br />psql: could not connect toserver: No such file or directory<br /> Is the server running locally and accepting<br /> connections on Unix domainsocket "/var/run/postgresql/.s.PGSQL.5432"?<br /> can someone help me out please<br /></blockquote></div><br />ifnot started start it using <br />/etc/init.d/postgresql-8.3 start<br /><br /><br clear="all" /><br />-- <br />---------------------------------------<br/>Viktor Bojović<br />---------------------------------------<br /> WhereverI go, Murphy goes with me<br />
В списке pgsql-sql по дате отправления: