#48082 [Asn]: mysql_connect does not work with named pipes

[email protected] ("andrew dot answer at gmail dot com")
Newsgroups php.bugs
Message-ID <[email protected]>
 ID:               48082
 User updated by:  andrew dot answer at gmail dot com
 Reported By:      andrew dot answer at gmail dot com
 Status:           Assigned
 Bug Type:         MySQL related
 Operating System: win32 only - Windows XP
 PHP Version:      5.3.0RC1
 Assigned To:      mysql
 New Comment:

http://stackoverflow.com/questions/832714/mysql-named-pipes-on-windows-
faster-best-practice-or-bad-idea


Previous Comments:
------------------------------------------------------------------------

[2009-06-29 09:40:48] andrew dot answer at gmail dot com

regarding performance

http://www.google.ru/search?
rlz=1C1GGLS_ruRU305RU305&sourceid=chrome&ie=UTF-8&q=named+pipes+speed

http://www.mail-archive.com/[email protected]/msg77837.html

http://msdn.microsoft.com/en-us/library/aa178138(SQL.80).aspx

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

[2009-06-29 08:42:28] uwendel at mysql dot com

Aren't named pipes considerable slower than TCP/IP: why use named pipes
?! I won't work on named pipe support for mysqlnd, if its slower, which
is the case AFAIK.

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

[2009-06-20 11:36:19] [email protected]

Andrei, fixable? or need help on this one? I'm not sure it is very
critical or widely used. it could wait for 5.3.1.

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

[2009-04-27 16:27:34] andrew dot answer at gmail dot com

I think it's because you use new mysql library (mysqlnd) in background

of mysql-related functions, and break the default behavior.

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

[2009-04-27 16:24:35] andrew dot answer at gmail dot com

php is php-5.3.0RC1-Win32-VC6-x86.msi, thread-safe version.

I think what behavior of mysql_connect should be same as in previous
php 
version(s). I check different host values for php 5.2.5:
null - FAILED
'' - FAILED
'localhost' - FAILED
'.' - OK
Please refer to php and mysql documentation and mysqli_ functions.

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

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/48082

-- 
Edit this bug report at http://bugs.php.net/?id=48082&edit=1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.