TMyConnection.Connect and PerformConnect method
Posted: Tue  22 Sep 2015 16:57
				
				Hi,
I am trying to get to the root of an issue where the connection time_zone is being reset to SYSTEM (as opposed to user defined).
I have some custom code in the 'PerformConnect' method to check for a custom property and, if set, to execute the SET TIME_ZONE query in MySQL.
I just need to know if PerformConnect is called when the connection is lost to the MySQL server and is automatically reconnected?
The TMyConnection component is basically set to all defaults except for LoginPrompt, which is set to false. The version I am using is MyDAC for Rad Studio XE3 (I believe it's 6.3.4).
Thanks!
			I am trying to get to the root of an issue where the connection time_zone is being reset to SYSTEM (as opposed to user defined).
I have some custom code in the 'PerformConnect' method to check for a custom property and, if set, to execute the SET TIME_ZONE query in MySQL.
I just need to know if PerformConnect is called when the connection is lost to the MySQL server and is automatically reconnected?
The TMyConnection component is basically set to all defaults except for LoginPrompt, which is set to false. The version I am using is MyDAC for Rad Studio XE3 (I believe it's 6.3.4).
Thanks!