-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Closed
Labels
Description
Hi.
I need UTC in my TIME
queries, but I don't have permission on target machine to do global modification on time settings in mysql.ini
Trouble can me solved with SET time_zone = "+00:00"
, but only if I use mysql.createConnection()
and exec SET
query at beginning of all rest operations.
In my application I prefer use mysql.createPool
and I don't known where I need to exec SET time_zone...
As I understand pool can recreate connection if it is was broken or timed out. And we need apply SET time_zone
on every reconnect (connection)...
Please help me.