Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » U++ community news and announcements » MySql now supports reconnection features
MySql now supports reconnection features [message #36510] Sun, 03 June 2012 20:05 Go to next message
mirek is currently offline  mirek
Messages: 14105
Registered: November 2005
Ultimate Member
Gate MySqlSession::WhenReconnect is called when connection to DB is lost at the start of request, only at transaction level 0 (but Begin is request, so it can it).

MySqlSession::Reconnect reconnects DB with the same parameters as submitted to commit.

MySqlSession::AutoReconnect simply assigns Reconnect to WhenReconnect...
Re: MySql now supports reconnection features [message #36530 is a reply to message #36510] Tue, 05 June 2012 09:08 Go to previous messageGo to next message
BioBytes is currently offline  BioBytes
Messages: 307
Registered: October 2008
Location: France
Senior Member
Hi Mirek,

Useful improvment for MySql developments. I was expecting that kind of feature.

________________

Biobytes
Re: MySql now supports reconnection features [message #38451 is a reply to message #36530] Tue, 18 December 2012 03:35 Go to previous messageGo to next message
sergeynikitin is currently offline  sergeynikitin
Messages: 748
Registered: January 2008
Location: Moscow, Russia
Contributor

Hello.
How to disable AutoReconnect? (I want control Reconnection myself on some conditions)


SergeyNikitin<U++>( linux, wine )
{
    under( Ubuntu || Debian || Raspbian );
}
Re: MySql now supports reconnection features [message #38463 is a reply to message #38451] Tue, 18 December 2012 23:50 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 14105
Registered: November 2005
Ultimate Member
sergeynikitin wrote on Mon, 17 December 2012 21:35

Hello.
How to disable AutoReconnect? (I want control Reconnection myself on some conditions)


It is not enabled by default. See the code.

Mirek
Re: MySql now supports reconnection features [message #38468 is a reply to message #38463] Wed, 19 December 2012 14:42 Go to previous message
sergeynikitin is currently offline  sergeynikitin
Messages: 748
Registered: January 2008
Location: Moscow, Russia
Contributor

Thanks.
I have some problem after upgrade to new SVN revision U++.



SergeyNikitin<U++>( linux, wine )
{
    under( Ubuntu || Debian || Raspbian );
}
Previous Topic: U++ logging refactored
Next Topic: Qtf->Pdf simplified
Goto Forum:
  


Current Time: Fri Nov 01 01:39:52 CET 2024

Total time taken to generate the page: 0.03557 seconds