An improved database layer for WordPress
Help, I've broken my site!
You can visit http://yoursite.com/?wp-db-driver-emergency-override=1 (replace yoursite.com with your real WordPress blog address) to temporarily disable this plugin. Then you can login to your admin to deactivate the plugin and restore your site's functionality.
If you need to uninstall manually, you should remove the plugin folder as well as
In what order are the drivers picked?
PDO > MySQLi > MySQL
How do I specify a driver?
In your wp-config.php, add a new constant:
define( 'WPDB_DRIVER', 'wpdb_driver_pdo_mysql' );
You can specify
wpdb_driver_mysql. Any other driver will cause an error.
Which driver is best for my site?
They should all function equally well for WordPress. The MySQL extension is being retired. In PHP 5.5, using this extension issues E_DEPRECATED errors. In PHP 5.6, it will no longer be available. The two alternative drivers are PDO and MySQLi. If WordPress switches to MySQLi or PDO, some cool new features become available to developers.
How to configure SSL? You can set defined in your wp-config.php to make it work. This only works for MySQLi and PDO. These defines are: DB_SSL_KEY, DB_SSL_CERT, DB_SSL_CA, DB_SSL_CA_PATH and DB_SSL_CIPHER.
In case of a different port number then you can pass this to your database host like: 127.0.0.1:
For more information see: - http://dev.mysql.com/doc/refman/5.5/en/ssl-connections.html
Requires: 4.2.0 or higher
Compatible up to: 4.4.0
Last Updated: 1 year ago
Active Installs: 600+
0 of 1 support threads in the last two months have been marked resolved.
Got something to say? Need help?