ID: 34072 Updated by: [EMAIL PROTECTED] Reported By: pash_ka at fonbet dot info -Status: Assigned +Status: Feedback Bug Type: PDO related Operating System: Windows XP PHP Version: 5.1.0b3 Assigned To: wez New Comment:
Does it work if you change the hostname to 127.0.0.1? Previous Comments: ------------------------------------------------------------------------ [2005-08-10 18:44:28] [EMAIL PROTECTED] Wez, could you plz check it out? ------------------------------------------------------------------------ [2005-08-10 18:44:18] [EMAIL PROTECTED] I've just copied your DSN and it worked for me. But IIRC it's possible that it automagically uses local socket on my Linux, which is not available on Win32. ------------------------------------------------------------------------ [2005-08-10 18:38:40] pash_ka at fonbet dot info Well, I've just downloaded php5-win32-latest.zip - it's the same one (Aug 9 2005 ) and tried with it. The bug is still there for me. Do i need to use "mysql:host=localhost;port=6733;dbname=www" dsn or there is another syntax to specify port? ------------------------------------------------------------------------ [2005-08-10 18:22:42] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php5-latest.tar.gz For Windows: http://snaps.php.net/win32/php5-win32-latest.zip Can't reproduce. ------------------------------------------------------------------------ [2005-08-10 18:16:05] pash_ka at fonbet dot info And yes, I've tried with port 3306 - it works fine. And it also works fine with my non-standart port using mysql_connect(). So it's definetly a bug or missing future in PDO. ------------------------------------------------------------------------ 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/34072 -- Edit this bug report at http://bugs.php.net/?id=34072&edit=1
