Infinity timeout TMyConnection

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
maciejmt
Posts: 27
Joined: Sun 25 Apr 2010 14:14

Infinity timeout TMyConnection

Post by maciejmt » Tue 18 May 2010 18:00

I would like keep connection for all time,
I have to set timeout = 0 ?

Dimon
Devart Team
Posts: 2910
Joined: Mon 05 Mar 2007 16:32

Post by Dimon » Wed 19 May 2010 08:03

The TMyConnection.ConnectionTimeout property is used to specify the amount of time to attempt to ESTABLISH a connection. If you don't use the Disconnected mode then connection by default is kept and is not disconncted after any operation executing. You can find more detailed information about the Disconnected mode in the MyDAC help.

Post Reply