DX NetOps

 View Only
  • 1.  Could not initialize MySQL connection, retry in 5 seconds: Communications link failure

    Posted Aug 07, 2015 06:56 AM

    Hi folks,

     

    the tomcat catalina.log logs is full of the following messages:

     

    The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.

    May 12, 2015 16:54:23.900 - Could not initialize MySQL connection, retry in 5 seconds: Communications link failure

     

    Does anyone has a clue what it means or where i should search / or check smth?!

     

    Spectrum is running on Solaris OS.

     

    Thank you in advance!



  • 2.  Re: Could not initialize MySQL connection, retry in 5 seconds: Communications link failure

    Posted Aug 07, 2015 07:10 AM

    Hello,

     

    Spectrum MYSQL server is up and running/operational?

     

    Can you send us <hostname>.err file to review ?

     

    Regards,

    Lakshmi.



  • 3.  Re: Could not initialize MySQL connection, retry in 5 seconds: Communications link failure
    Best Answer

    Posted Aug 07, 2015 10:17 AM

    As Lakshmi mentions, check that MySQL is up and running ok. If MySQL appears to be running ok, cycle tomcat and it should then again be able to connect.

     

    -Greg



  • 4.  Re: Could not initialize MySQL connection, retry in 5 seconds: Communications link failure

    Broadcom Employee
    Posted Aug 20, 2015 11:32 AM

    Hi ener, were you able to get this resolved?

    Thank you

    Jay



  • 5.  Re: Could not initialize MySQL connection, retry in 5 seconds: Communications link failure

    Posted Sep 15, 2015 02:54 AM

    Sorry for the late response, i was on vacation.

    Cycle mysql/tomcat helped a lot!

    thanks and regards