Sets SSL keys and certs for encrypted MySQL database connections.
As of April 2026, Secure DB Connection is a WordPress db plugin with 100 active installations and a 5/5 rating from 3 reviews. It has been downloaded 24K+ times in total. Requires WordPress 4.9+ and PHP 5.2.4+. Available on WordPress.org since 2016. Last updated 7 years ago — may have compatibility concerns. Top alternative: Database for Contact Form 7.
Depending on the MySQL server setup the SSL certs used may not be in the trusted store, if that’s the case mysqli_ssl_set() needs to be called to set custom keys and certs before connect. This Plugin adds a custom DB class that allows these settings to be configured via custom constants.
This plugin will also add a custom item on the “At a Glance” section of the Dashboard to show if the $wpdb connection is secure or not.
Also find me on GitHub.
| WordPress | 4.9+ requiredTested up to 4.9.29 |
| PHP | 5.2.4+ required |
Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.