[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cobalt-users] [RaQ4] phpPgAdmin goes *boink*



I am having a problem as well. I did compile php with PostgreSQL support and
I have verified with phpinfo(). This is the error I get When I try to access
psql through phpPgAdmin:

Warning: Unable to connect to PostgreSQL server: connectDB() -- connect()
failed: Connection refused Is the postmaster running at 'localhost' and
accepting connections on Unix socket '5432'? in
/home/sites/site2/web/dbadmin/phpPgAdmin/lib.inc.php on line 196
Error - /home/sites/site2/web/dbadmin/phpPgAdmin/lib.inc.php -- Line: 224
PostgreSQL said: Unable to connect to server

Any ideas?

Thanks,
J. Patrick Lanigan - Web Developer
-------------------------------------
 w: http://www.laniganonline.com/
-------------------------------------

> "The A-Team" <propylon@xxxxxxxxxxxxxxxxxxxx> wrote:
> >  1. phpMyAdmin access WHAT in order to admin the seperate databases? The
> > reason I ask this is because if you don't designate a DB via
> config.inc.php
> > for MyAdmin it will see all the DB's.
>
> If you specify the advanced auth info. you can limit access to
> users in the
> mysql user table and they will only be able to access DBs they have
> privileges for.
>
> > Oh, one final thing, when I try and login with any user at phpPgAdmin it
> > gives me the return:
> >
> > Fatal error: Call to undefined function: pg_connect() in
> > /home/sites/home/users/opaque/web/phpPgAdmin/lib.inc.php on line 196
>
> This means that PHP is not compiled with PostgreSQL support.  To verify,
> create a script containing <?php phpinfo(); ?>, view the output
> and look at
> the configuration section and PostgreSQL section if one exists.