Bug #42175 | backup database from the different timezone server | ||
---|---|---|---|
Submitted: | 16 Jan 2009 23:22 | Modified: | 19 Jan 2009 7:20 |
Reporter: | Oliver Cai | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server: Data Types | Severity: | S1 (Critical) |
Version: | Server version: 5.0.67-community | OS: | Windows |
Assigned to: | CPU Architecture: | Any | |
Tags: | Backup, timestamp, timezone |
[16 Jan 2009 23:22]
Oliver Cai
[18 Jan 2009 8:35]
Hema Sridharan
This defect looks like duplicate of bug#37146
[19 Jan 2009 7:20]
Sveta Smirnova
Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://dev.mysql.com/doc/ and the instructions on how to report a bug at http://bugs.mysql.com/how-to-report.php According to http://dev.mysql.com/doc/refman/5.0/en/timestamp.html: TIMESTAMP values are converted from the current time zone to UTC for storage, and converted back from UTC to the current time zone for retrieval. So this is correct you have different representation of the same time for different time zones. Solution in your case: use DATETIME which doesn't convert its values.