php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #1278 pg_connect etc. does not support username/password authentication methods
Submitted: 1999-03-29 05:30 UTC Modified: 1999-03-29 05:38 UTC
From: matt at nz dot com Assigned:
Status: Closed Package: PostgreSQL related
PHP Version: 3.0.7 OS: All
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: matt at nz dot com
New email:
PHP Version: OS:

 

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-03-29 05:38 UTC] rasmus
Sure it does.  Use the syntax:
pg_Connect("host=myHost port=myPort tty=myTTY options=myOptions user=myUser password=myPassword dbname=nyDB");

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue May 13 12:01:27 2025 UTC