The following modification was done in default installation of MySQL allows for the database to listen to all interfaces. To apply a further level of security you can make the following modification.
Open the my.ini file (Configuration Settings file) which is under the C:\Program Files\MySQL\MySQL Server 5. in the mysqld folderthe MySQL folder and add the following line
bind-address=127.0.0.1
Then Close and save the file and then restart the machine