Re: DB Error
| From: | Torsten Schmidt | Date: | Sat, 10 May 2003 22:28:30 +0000 |
| Subject: | Re: DB Error | ||
| References: | 1 2 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-5296@lists.php.net to get a copy of this message | ||
Thanks for your reply but i solved it already.
The problem was a not-proper compile of php, i didn't set the compile flag for postgrSQL support correctly. ( after --with-pgsql=/usr/ everything works fine.)
Regards
Torsten
Martin Marques wrote:
On Jue 08 May 2003 15:28, Torsten Schmidt wrote:Hi all, this post is a follow up from "undefiend function error --why ? --". I re-installed php with postgresql-support and the connection seems to work now but there is a "no such database" error. I've tested the database and the permissions before i tried to connect via php-pear and everything works fine. Can someone give me a hint what's wrong?What does "select * from pg_database where datname='<your DB>'" say? (from psql). Try a script the starts the PEAR::DB object and do a var_dump() of the object to see what it contains. See the PostgreSQL logs.