Bug #54843 Catch-22 with MySQL and PHP 5.3
Submitted: 28 Jun 2010 3:55 Modified: 28 Jun 2010 14:27
Reporter: Peter Brawley (Basic Quality Contributor) Email Updates:
Status: Not a Bug Impact on me:
None 
Category:MySQL Server: Windows Severity:S3 (Non-critical)
Version:5.5 OS:Windows
Assigned to: CPU Architecture:Any

[28 Jun 2010 3:55] Peter Brawley
Description:
PHP 5.3 for Windows is missing libmysql.dll, required in all previous versions

Pre-5.3 versions of libmysql.dll do not work correctly with PHP 5.3

The MySQL website says a Windows binary for the mysqlnd library works with PHP 5.3 and says to download it from php.net; it isn't there

Php.net advises us to download mysqlnd from the MySQL website, but it's not there.

How to repeat:
As above

Suggested fix:
Use PHP 5.2 instead.
[28 Jun 2010 5:42] Sveta Smirnova
Thank you for the report.

This is not MySQL bug, please report bug in PHP bugs database.
[28 Jun 2010 8:56] Tonci Grgin
Peter, it is like this. One of the major advantages of mysqlnd over the MySQL Client Library is that mysqlnd is part of the main PHP source tree as of PHP 5.3. The php.net windows builds for PHP 5.3 use mysqlnd. Thus, because mysqlnd is built-in to PHP there is no mysqlnd.dll or similar in the download archive from php.net. Also note that mysqlnd is not a new API. It is a library that can be used with the existing PHP MySQL extensions ext/mysql, ext/mysqli and PDO_MySQL. The php.net manual has the details.
[28 Jun 2010 13:34] Peter Brawley
?! 

The MySQL site advises us to download the Windows binary for mysqlnd from php.net. 

The MySQL site's advice is wrong. The Windows binary is not at php.net.
[28 Jun 2010 13:37] Tonci Grgin
Peter, is is a part of PHP 5.3 windows binaries, there are NO additional downloads.
[28 Jun 2010 14:27] Peter Brawley
> Peter, is is a part of PHP 5.3 windows binaries, there are NO additional downloads.

?! In which case the MySQL site should not advise us to download mysqlnd from php.net.