PDA

View Full Version : Postgres database access



danscott
10-17-2006, 03:07 PM
Hi,

I'm trying to use php to access a postgres database.

No matter what I do, I don't seem to be able to access the database from the php script. I have ssh access and can't get access via the command line either.

I've created the user several times, but still get "psql: FATAL: IDENT authentication failed for user "username_test""

MySQL seems to work fine, but my database layout is already in Postgres format from a previous host.

Any ideas?

Thanks,

Dan

danscott
10-17-2006, 03:12 PM
Sorry, should have searched first.

This seems to answer it:

http://www.hostmonsterforum.com/showthread.php?t=31

Dan