DeskNow Knowledge Base
 
      
Home Log messages Error during validity check of database connection. The connection may be broken. Closing and creating a new connection.

Error during validity check of database connection. The connection may be broken. Closing and creating a new connection.

This message may appear if you're using an external database, and the connection to the database is broken for some reason. DeskNow will detect this, and automatically try to recreate the connection.

Note that MySQL by default closes client connections that have been inactive for more than 8 hours, so this message may very well appear in the morning. This is nothing alarming, as generally DeskNow reestablishes the connection transparently. To avoid this, you can also set your my.ini configuration file (it's in C:WINDOWS in Windows systems), and set/add the following lines:

set-variable = wait_timeout=315360000
set-variable = interactive_timeout=315360000

and restart MySQL.

Other reasons for this message may be that the database server has been restarted, or that a network problem occurred between DeskNow and the database.

 

Email Article Email
Print Article Print


How helpful was this article to you?
Related Articles
article java.net.SocketException: Software caused connection abort: socket write error
If every sent message cannot be delivered...

  March 22, 2005    Views: 79276   
article java.net.ConnectException: Connection refused
This is a very common error. It means that...

  June 24, 2004    Views: 160944   
article Socket exception: Connection reset
If you receive a bounce email with this error,...

(No rating)  February 11, 2009    Views: 16453   



Powered by Lore :: (c)2003 Pineapple Technologies.