PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

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