Hi Wolf-Dieter Fink,
Thanks for your reply.
No... Its not typo.
I am starting MySQL Server on 192.168.6.128 on port 3306.
There are two databases testenv1 & testenv2 on MySQL server.
testenv1 user is having all rights on testenv1 database
testenv2 user is having all rights on testenv2 database
One thing I noticed.......
I removed MySQL server binding on 192.168.6.128 ( so that it will get bound on 0.0.0.0 by default ) and changed connection-url jdbc:mysql://192.168.6.129:3306/testenv2
After that connection was successful.
Not very sure why it fails if I bind MySQL server on one IP