You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by "TeslaCN (via GitHub)" <gi...@apache.org> on 2023/04/19 02:18:37 UTC

[GitHub] [shardingsphere] TeslaCN opened a new issue, #25220: Figure out why serverTimezone was set to UTC by default

TeslaCN opened a new issue, #25220:
URL: https://github.com/apache/shardingsphere/issues/25220

   ## Question
   
   ### Which version of ShardingSphere did you use?
   master - 37adda4c7415687a5db3e525d0c3aa081452eef8
   
   https://github.com/apache/shardingsphere/blob/37adda4c7415687a5db3e525d0c3aa081452eef8/infra/common/src/main/java/org/apache/shardingsphere/infra/database/metadata/dialect/MySQLDataSourceMetaData.java#L71
   
   Users have to set timezone in JDBC URL explicitly. Otherwise, wrong timezone might be used.
   ```
   serverTimezone=Asia/Shanghai
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org