Remote access to a MySQL server running on Ubuntu 18

SSH into Ubuntu Allow MySQL service listen on the server IP address instead of Under [msqld], change bind-address = to the db_server_IP_address. Restart the MySQL server: Allow SQL traffic through the firewall: Create a new user with permissions: Update an existing database and user to allow remote access: