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.
name="maven.pomderived" value="true"/>
name="org.eclipse.jst.component.dependency" value="/WEB-INF/lib"/>
kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8">
name="owner.project.facets" value="java"/>