How To Set Up a Remote Database to Optimize Site Performance with MySQL on Ubuntu 18.04
This guide will walk you through the process of configuring a remote MySQL database server that your website or application can connect to. It uses WordPress as a working example of something that can connect to the MySQL backend remotely, but the technique is widely applicable to any application backed by MySQL.