Eclipse for mac jdbc mssql server

broken image
broken image

Uncomment 'bind-address' attribute or change it to one of the following Ips:

broken image

Windows: D:\Program Files\mysql\bin\my.ini Point: For the solutions that you need to change the MySQL settings, you can refer to the following not: Here are the solutions that I found on the internet and for each of them, there is at least on person who his problem has been solved with that solution. So I suggest you to try all the solutions one by one and don't give up! Maybe the problem is because of the wrong query string or too many connections to the database.

broken image

It seems this error can occur generally when there is a problem in connecting to the server. While I was seeking the internet to find the solution for this error, I figured out that there are many solutions that worked for at least one person, but others say that it doesn't work for them! why there are many approaches to this error? I'll try to tell you about different approaches and sum them up here. Finally I changed my code and found out what was the problem. I have tested many approaches that have been mentioned in different web sites, but non of them worked. The driver has not received any packets from the server. The last packet sent successfully to the server was 0 milliseconds ago. My error was this: .jdbc4.CommunicationsException: Communications link failure I have had the same problem in two of my programs.