And lastly, assuming you’ve configured a firewall on your database server, you will also have to open port 3306 — MySQL’s default port — to allow visitors to MySQL.
remedies giving the knowledge you might want https://www.ralantech.com/mysql-dba-support-services/