Last of all, assuming you’ve configured a firewall in your database server, additionally, you will must open port 3306 — MySQL’s default port — to permit traffic to MySQL.
Disable unused functions and services: https://www.ralantech.com/mysql-dba-support-services/