Help Center/
Relational Database Service/
User Guide (Ankara Region)/
FAQs/
Database Parameter Modification/
How Can I Change the Time Zone?
Updated on 2024-04-11 GMT+08:00
How Can I Change the Time Zone?
You can set the time zone only on the RDS console. Different DB engines have different time zone policies.
- RDS for MySQL and RDS for PostgreSQL allow you to select a time zone when you create a DB instance and change the time zone after the instance is created.
- If the time zone of your RDS for MySQL instance is different from that of the region where your workloads are deployed, or if the DST and standard time are switching in your country, you need to adjust the time zone of the instance.
- After the time zone parameter is modified, you need to reconnect to the instance for the modification to take effect.
To change the time zone for an RDS for MySQL or RDS for PostgreSQL DB instance, perform the following steps:
- Log in to the management console.
- Click in the upper left corner and select a region and a project.
- Click Service List. Under Database, click Relational Database Service. The RDS console is displayed.
- On the Instances page, click the target DB instance.
- In the navigation pane on the left, choose Parameters.
- Search for a time zone parameter in the search box, for example, time_zone.
- The time zone parameter for RDS for MySQL is time_zone.
- The time zone parameter for RDS for PostgreSQL is timezone.
- Select a time zone, and click Save.
- In the displayed dialog box, click OK.
Time Zone Parameters
- system_time_zone: operating system (OS) time zone. This parameter cannot be changed and it has no impact on the database time zone.
- time_zone: database time zone. You can modify this parameter to change the time zone for your DB 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