Hi, I have a program that has to run round the clock. Its written in C++
and uses the MySQL++ lib to connect to a MySQL server.
The problem I have been having is with the mysql servers default timeout
limit of 8hrs. After that my program keeps getting a "MySQL has gone
I can solve this by changing the server settings so it never timeouts
but I do not want to do that.
the other solution is to ask the lib to automatically reconnect when the
above happens. I have done some reading but so far have not been
//I have tried the following on the connection object with no help...
dbc_ticker_add.set_option( new mysqlpp::ReconnectOption(true) );
Can someone who has worked with this lib help me out here.