Connection Timezone Property
Posted: Wed 28 Aug 2013 17:29
Hi All,
I have an application that is connecting to a MySQL database from various countries and have recently migrated from using ODBC to the MyDAC suite of components.
However, in doing so, I have noted that the MySQL connection's timezone property is no longer being set - ODBC does this automatically if a timezone is selected in the connections properties.
Is there a way to do this automatically through a property/option on the TMyConnection component? I have reviewed it, and searched forums etc, but can't find anything. I am having to implement a query execution in the AfterConnection method for the component - but, because I am creating and freeing some connection components on the fly, I am worried I may miss this extra step.
Any thoughts on this? Is it even possible? Or should I request an enhancement via the 'user voice' submission page?
Thanks for your time!
I have an application that is connecting to a MySQL database from various countries and have recently migrated from using ODBC to the MyDAC suite of components.
However, in doing so, I have noted that the MySQL connection's timezone property is no longer being set - ODBC does this automatically if a timezone is selected in the connections properties.
Is there a way to do this automatically through a property/option on the TMyConnection component? I have reviewed it, and searched forums etc, but can't find anything. I am having to implement a query execution in the AfterConnection method for the component - but, because I am creating and freeing some connection components on the fly, I am worried I may miss this extra step.
Any thoughts on this? Is it even possible? Or should I request an enhancement via the 'user voice' submission page?
Thanks for your time!