Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.12.2

Bug #3278 DB::parseDSN bug
Submitted: 2005-01-24 07:18 UTC
From: ceremona2000 at yahoo dot com Assigned: danielc
Status: Bogus Package: DB
PHP Version: 4.3.10 OS: linux
Roadmaps: (Not assigned)    
Subscription  


 [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

Comments

 [2005-01-24 07:41 UTC] danielc
And what happens if you use the syntax that's actually specified in the manual? Example 26-1. Connect to database through a socket mysql://user@unix(/path/to/socket)/pear http://pear.php.net/manual/en/package.database.db.intro-dsn.php
 [2005-01-29 05:19 UTC] danielc
No response. Marking bogus.