MySQL_* functions are deprecated and this plugin creates a layer to use MySQLi instead. So you don't get notices when using PHP 5.5
The latest version of mysql (5.6) instals mysqlnd, the native driver, which includes mysqli. Quote from php.net: "On Windows, for PHP versions 5.3 and newer, the mysqli extension is enabled and uses the MySQL Native Driver by default. This means you don't need to worry about configuring access to libmysql.dll."
Installing this plug in by the optional route of putting db.php into wp-content does not obviate the error messages created by wordpress using old database instructions e.g. mysql_connect().
I would be grateful for any suggestions for a work-around. Thanks for your help
System: MySQL 5.6.19 using mysqlnd 5.0.11, php 5.5.13, OS Windows 7 ultimate 64-bit, apache 2.4.9 (WIN64)
Ermergurd! Why the hack does WP use mysqli by default! Cheers for this plugin!
Thanks for the patch! It's surprising that the core installation of WordPress hasn't addressed this issue yet.
Thanks for doing this, core needs to incorporate it.
Works flawlessly, as expected.
This seems like something which should not be needed though, so hopefully WordPress core is able to adapt to this sooner rather than later.
I've patched my WP ;)
Thanks a lot. I met the problem after update to Ubunto 13.10 with PHP 5.5.3. Your plugin resolved it. It works excellent in WP 3.7.1.
It totally works!
You must log in to submit a review. You can also log in or register using the form near the top of this page.