how to set up mysql for remote access on ubuntu server 18.04 code example
Example: digitalocean mysql connect remote
RENAME USER 'sammy'@'localhost' TO 'sammy'@'remote_server_ip';
RENAME USER 'sammy'@'localhost' TO 'sammy'@'remote_server_ip';