Cant connect to postgresql 7.4 on FreeBSD

Cant connect to postgresql 7.4 on FreeBSD

am 09.06.2006 13:17:57 von Arie Nugraha

------=_Part_65_9860147.1149851877195
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Hi list,

yesterday i compile postgresql 7.4 in my FreeBSD 5.4 box.
I manage to run the server smoothly without any problem.
But then i try to connect with my php script with pg_connect function, and
it returns an error like this :

*cant make link. to many connection open*

i already install the pgsql.so extension and its already loaded to php
without any problem (i saw it with phpinfo()).

I also have enable tcp/ip connection in postgresql.conf

whats wrong with my postgresql??

------=_Part_65_9860147.1149851877195--

Re: Cant connect to postgresql 7.4 on FreeBSD

am 10.06.2006 16:07:23 von Chris Smith

On 6/9/06, Arie Nugraha wrote:
> Hi list,
>
> yesterday i compile postgresql 7.4 in my FreeBSD 5.4 box.
> I manage to run the server smoothly without any problem.
> But then i try to connect with my php script with pg_connect function, and
> it returns an error like this :
>
> *cant make link. to many connection open*

You have too many connections to your database.

Either increase the number of connections your database accepts or
work out where all the connections are coming from and try to cut that
down.

--
Postgresql & php tutorials
http://www.designmagick.com/

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php