Gosh..

It could be a bunch of things.  Maybe it requires a password, a username, is 
running on an alternate port, etc...
Any more information you can provide to us would be helpful.  Maybe echo out 
the output of pg_last_error()?

-Brad

> I've installed MySQL and PostgreSQL on my XP. I'd like to make an PHP script
> working with pgsql base. I created database (typed "createdb name") but when
> trying execute script with "pg_connect("host=localhost dbname=name"); it
> fails.
> 
> Any suggestions?
> 
> 
> 
> -- 
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 





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

Reply via email to