Help Center/ Relational Database Service_RDS for MySQL/ FAQs/ Database Parameter Modification/ How Do I Set the Encoding Format of the RDS for MySQL 8.0 Character Set?
Updated on 2026-05-14 GMT+08:00
How Do I Set the Encoding Format of the RDS for MySQL 8.0 Character Set?
- Set character_set_server to utf8 and collation_server to utf8_general_ci.
- Log in to the RDS console.
- Click
in the upper left corner and select a region. - On the Instances page, click the instance name.
- In the navigation pane on the left, choose Parameters.
- Search for character_set_server and collation_server, respectively, in the search box.
- Modify the values and click Save.
- If you use a client of PHP 7.1.x, change the PHP version because it will fail to connect to MySQL 8.0 DB instances with the utf8mb4 character set.
What is your overall rating for this page?
0
1
2
3
4
5
6
7
8
9
10
Very dissatisfiedVery satisfied
Thank 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