To Guard access to your Mysql Port from outside world just add following line to your my.ini file
bind-address=127.0.0.1
bind-address=127.0.0.1
tcnative-1.dll
(or libtcnative.so
for Linux) and put it in the bin folder, and add a system property to the launch configuration of the tomcat server in eclipse.