Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

FATAL: role "apache" does not exist

Status
Not open for further replies.

cmancre

Programmer
Jan 30, 2005
35
PT
Im new to postgres and im trying to connect to a postgres database through php. This is the error:

Warning: pg_connect() [function.pg-connect]: Unable to connect to PostgreSQL server: FATAL: role "apache" does not exist in /var/
 
you are trying to connect without entering any username or password, and thus it tries to authenticate the apache user, which has no account
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top