how to make mysql on digitalocean connect to remote connection 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';