Skip navigation links

MySQL Forums :: C/C++ :: Register time of connection getting broken with database


Advanced Search

Register time of connection getting broken with database
Posted by: Tushar Bindal ()
Date: December 27, 2012 06:08AM

I am connecting to the database through C.

Is there any way we can store the time at which connection is broken to the database.
For example, if the connection to MySQL server is broken due to any reason, then the time of breaking the connection should be stored in a table in MySQL.

How can this be implemented?



Edited 1 time(s). Last edit at 12/27/2012 06:09AM by Tushar Bindal.

Options: ReplyQuote


Subject Written By Posted
Register time of connection getting broken with database Tushar Bindal 12/27/2012 06:08AM
Re: Register time of connection getting broken with database Rick James 12/29/2012 01:37PM
Re: Register time of connection getting broken with database Tushar Bindal 01/03/2013 12:22AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.