New Get started on Amezmo with a $60, 12-month credit for new users. Create free account →

WordPress

How to enable SSL connections to MySQL in WordPress without plugins

At Amezmo, we’ve recently rolled out remote database access over SSL. In this post, we will extend WordPress’s default MySQL connection options to support SSL connections to the server. How does WordPress connect to MySQL? The file wp-includes/wp-db.php contains a class called wpdb. This class setups the MySQL connection with the mysqli PHP extension. Since […]