Translations:Manual:Security/46/en

Setting $addr in your $ini (under section $mysqld) will cause MySQL/MariaDB to only listen on the loopback interface. This is the default in the EasyPHP install for Windows. (If you are using MySQL/MariaDB on a Unix machine, the setting may be $skip-net instead in the $cnf file.)