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

Patches

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 06:01:35 2024 UTC