The MySQL service is currently configured to listen on all interfaces: (bind-address=*)

Open up the my.cnf file

vi /etc/my.cnf

Add the following line so MySQL will only work from the server. Basically blocks all remote MySQL conenctions.

Configure bind-address=127.0.0.1

Restart the MySQL service

systemctl restart mysqld

Leave a Reply

Your email address will not be published. Required fields are marked *