We have a BlueHost WordPress install that we would like to enable a secure remote connection to our secondary database in Azure. We do not want to replace our existing db, just run queries through SSL connection against that db from our WordPress.
We have configured everything appropriately in Azure to accept the requests, but cannot find any good documentation for WordPress end to properly enable/make that connection.
We thought there might be a method to extend wpdb and/or modify the WP-config.php, but following WP docs on “SSL connection to remote database WordPress” (or variations of this) only returns guidance on setting up a primary database FOR WordPress using remote db.
We found a possible plugin (WP data access plugin), but when we try to use, our admin bugs out (could be a BlueHost issue). We would prefer, however, not to use a plugin but actually understand and manage this feature ourselves.
We assume since we have a web server we can attempt to manage this connection outside of the WordPress instance itself, but that feels hacky.