PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » Database » DB » Bug #3278

DB::parseDSN bug

Details

Submitted2005-01-24 07:18 UTC
Fromceremona2000 at yahoo dot com
Assigneddanielc
StatusBogus
PackageDB
PHP Version4.3.10
OSlinux
Roadmaps(Not assigned)

Comments

[2005-01-24 07:18 UTC] ceremona2000 at yahoo dot com

Description:
------------
Something is foobar with the DB DSN parser code when trying to connect to mysql unix sockets.

eg: mysql://username:pw@unix:/var/run/mysqld/mysql.sock/DBname

I can only connect to the db (using the Auth/Auth.php code) via tcp/localhost.

Reproduce code:
---------------
try connecting with something like:

mysql://username:pw@unix:/var/run/mysqld/mysql.sock/DBname

Expected result:
----------------
should connect

Actual result:
--------------
does not connect