ID: 45859 Updated by: paj...@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:
About the last comment, it is unrelated to this bug. Also I cannot find "libmysql" references in INSTALL (install.txt), in 5.3+. Previous Comments: ------------------------------------------------------------------------ [2009-07-06 05:44:05] clockw...@php.net Specifically, it still says: PHP 5+ (snip) Also, PHP needs access to the MySQL client library. A file named libmysql.dll is included in the Windows PHP distribution and in order for PHP to talk to MySQL this file needs to be available to the Windows systems PATH. (/snip). The windows builds install.txt also document this, but are out dated ------------------------------------------------------------------------ [2009-07-06 05:42:43] clockw...@php.net This is currently not documented in http://www.php.net/manual/en/mysql.installation.php ------------------------------------------------------------------------ [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