note 106495 added to ref.pdo-pgsql.connection
| From: | OOPer at osu1 dot php dot net | Date: | Mon, 14 Nov 2011 12:51:01 +0000 |
| Subject: | note 106495 added to ref.pdo-pgsql.connection | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-184426@lists.php.net to get a copy of this message | ||
PDO does NOT ignore the value of the user name or the password argument in the PDO constructor, if
supplied explicitly.
The following code does not work as described.
$db = new PDO('pgsql:host=localhost;port=5432;dbname=testdb;user=bruce;password=mypass'
,'', '');
----
Server IP: 69.147.83.197
Probable Submitter: 219.117.197.23
----
Manual Page -- http://www.php.net/manual/en/ref.pdo-pgsql.connection.php
Edit -- https://master.php.net/note/edit/106495
Del: integrated -- https://master.php.net/note/delete/106495/integrated
Del: useless -- https://master.php.net/note/delete/106495/useless
Del: bad code -- https://master.php.net/note/delete/106495/bad+code
Del: spam -- https://master.php.net/note/delete/106495/spam
Del: non-english -- https://master.php.net/note/delete/106495/non-english
Del: in docs -- https://master.php.net/note/delete/106495/in+docs
Del: other reasons-- https://master.php.net/note/delete/106495
Reject -- https://master.php.net/note/reject/106495
Search -- https://master.php.net/manage/user-notes.php