Hi everyone, I have a doubt and I hope you can help me to solve it.
Well, my problem is that I'm using Mysql and the problem is that from another host (not localhost) I want to connect to my database and I can't. my url is this:
Code:
jdbc:mysql://localhost:3306/mydatabase
this works fine BUT when I replace "localhost" for 192.168.0.1 or something else, it doesn't work at all. I can change the values of this properties from my program (not into hibernat.cfg.xml in hard-code).
I've also try a ping and it works, so it is not a network problem. So why? i don't understand. Thanks, please help me.