Edit report at https://bugs.php.net/bug.php?id=56150&edit=1

 ID:               56150
 Updated by:       [email protected]
 Reported by:      dan at yes dot lt
 Summary:          PDOException - [2017] Can't open named pipe...
-Status:           Feedback
+Status:           No Feedback
 Type:             Bug
 Package:          *General Issues
 Operating System: Win2k
 PHP Version:      5CVS-2004-07-29 (dev)

 New Comment:

No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.


Previous Comments:
------------------------------------------------------------------------
[2011-12-24 06:25:55] [email protected]

Please try using this snapshot:

  http://snaps.php.net/php5.4-latest.tar.gz
 
For Windows:

  http://windows.php.net/snapshots/



------------------------------------------------------------------------
[2004-11-08 12:06:58] vincent at 7oqp dot net

pdo_mysql try to connect to mysql with unix socket if you enter "localhost" as 
hostname.
Use ip address (127.0.0.1) instead of hostname (localhost) :
$db = new PDO('mysql:dbname=test;host=127.0.0.1', 'user', 'password');
It worked for me on XP.

------------------------------------------------------------------------
[2004-07-29 18:19:48] dan at yes dot lt

Description:
------------
Fatal error:  Uncaught exception 'PDOException' with message '[2017] Can't open 
named pipe to host: .  pipe: MySQL (2)' in ...

Reproduce code:
---------------
$db = new PDO('mysql:dbname=test;host=localhost', 'user', 'password');




------------------------------------------------------------------------



-- 
Edit this bug report at https://bugs.php.net/bug.php?id=56150&edit=1

Reply via email to