Re: POSTGRESQL & PHP
| From: | bbonkosk at tampabay dot rr dot com | Date: | Thu, 01 Jan 1970 00:00:00 +0000 |
| Subject: | Re: POSTGRESQL & PHP | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-21646@lists.php.net to get a copy of this message | ||
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
>