I connect to mysql database with java coding and give input as hostname,user,password. its able to connect and reterview the data. But when i activated firewall , its not able to connect database.
views:
39answers:
2
+1
A:
Your firewall blocks the incoming connection to port 3306. Set-up your firewall to allow connection on that port.
Bozho
2010-01-28 11:18:36
Sometimes the obvious comments are the correct ones ;-)
Joachim Sauer
2010-01-28 13:11:14
+1
A:
You should configure your firewall to not block the port number used by MySQL for communication (3306 by default) for the application being executed or for connections coming from the machine where you are running your program.
JuanZe
2010-01-28 11:39:02