Help Center/
GaussDB(for MySQL)/
FAQs/
Database Parameter Modification/
How Do I Change the Time Zone of a GaussDB(for MySQL) Instance?
Updated on 2024-09-05 GMT+08:00
How Do I Change the Time Zone of a GaussDB(for MySQL) Instance?
GaussDB(for MySQL) allows you to select a time zone when you create an instance and change the time zone after the instance is created.
Procedure
- Log in to the management console.
- Click in the upper left corner and select a region and project.
- Click in the upper left corner of the page, choose .
- On the Instances page, click the instance name.
- In the navigation pane, choose Parameters.
- Search for a time zone parameter in the search box, for example, time_zone.
- Select a time zone, and click Save.
- In the displayed dialog box, click Yes.
For example, to change the time zone to UTC+08:00, select Asia/Shanghai from the drop-down list.
Time Zone Parameters
- system_time_zone: operating system (OS) time zone. Changing the value of this parameter does not affect the database time zone.
- time_zone: database time zone. You can modify this parameter to change the time zone for your instance.
Parent topic: Database Parameter Modification
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot