And lastly, assuming you’ve configured a firewall with your database server, you will also have to open up port 3306 — MySQL’s default port — to permit traffic to MySQL.
this post is for developers, DBAs, and https://www.ralantech.com/mysql-dba-support-services/