This is a very easy change that will prevent remote queries from running on your MySQL server.
Simply apply the commands below:
nano /etc/my.cnf

Add the following to the bottom of the configuration file:
bind-address = 127.0.0.1

After saving and exiting nano, apply the following commands to restart the Mysql Daemon:
service mysqld restart

Was this answer helpful? 0 Users Found This Useful (0 Votes)