mirromutth / r2dbc-mysql

R2DBC MySQL Implementation
Apache License 2.0
656 stars 98 forks source link

Connection timezone is not set to the serverZoneId parameter #220

Open figroc opened 2 years ago

figroc commented 2 years ago

When there is no serverZoneId available from the connection url, MySqlConnection get the zone id from the connection (i.e. mysql server). When serverZoneId is set in the connection url, MySqlConnection just update the local context field without keeping it consistent with the timezone of connection. There is no way we can set the desired timezone on connection.