ID: 45859 Updated by: clockw...@php.net Reported By: dagdamor at simps dot ru Status: Bogus Bug Type: MySQL related Operating System: Windows PHP Version: 5.3.0alpha1 Assigned To: mysql New Comment:
This is currently not documented in http://www.php.net/manual/en/mysql.installation.php Previous Comments: ------------------------------------------------------------------------ [2008-08-19 09:03:00] johan...@php.net Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php libmysql.dll isn't needed anymore with 5.3 as mysqlnd was introduced as client library. "mysqlnd cannot connect to MySQL 4.1+ using old authentication" tells you what the error is, please don't use the --old-passwords MySQL option! ------------------------------------------------------------------------ [2008-08-19 08:14:14] dagdamor at simps dot ru Description: ------------ There is no libmysql.dll in the php-5.3.0alpha2-dev-win32.zip archive. I tried to use one from php-5.2.6-win32.zip (the last stable release), but apparently it doesn't work. P.S. If there is a more suitable place where I can post feedback about testing PHP 5.3 on Windows, please tell :) Reproduce code: --------------- <?php mysql_connect("localhost","root","12345") or die(mysql_error()); ?> Expected result: ---------------- No errors Actual result: -------------- Warning: mysql_connect() [function.mysql-connect]: OK packet 6 bytes shorter than expected. PID=-387523 in W:\www\test53.php on line 3 Warning: mysql_connect() [function.mysql-connect]: mysqlnd cannot connect to MySQL 4.1+ using old authentication in W:\www\test53.php on line 3 Warning: mysql_connect() [function.mysql-connect]: in W:\www\test53.php on line 3 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=45859&edit=1