MySQL JDBC Connection Error

I am using the latest version of MySQL ... in my java application with a named pipe, and I started getting the following error, like 20 times in a row:

 com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure

 The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
at ......
at ......
at ......
at ......
  Caused by: java.io.FileNotFoundException: All pipe instances are busy
... 4 more

 com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure

 The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
at ......
at ......
at ......
at ......
  Caused by: java.io.FileNotFoundException: All pipe instances are busy
... 4 more

 com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure

 The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
at ......
at ......
at ......
at ......
  Caused by: java.io.FileNotFoundException: All pipe instances are busy
... 4 more

The MySQL server is active and works correctly through the command line and PHP. I am using Windows 7 Ultimate. What is the reason for this Java exception and how can I fix it?

Thanks.

+4
source share

Source: https://habr.com/ru/post/1527396/


All Articles