Remote access to a MySQL server running on Ubuntu 18

SSH into Ubuntu Allow MySQL service listen on the server IP address instead of 127.0.0.1 Under [msqld], change bind-address = 127.0.0.1 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: