tencent cloud

Modifying Character Set
Last updated:2025-10-23 19:27:04
Modifying Character Set
Last updated: 2025-10-23 19:27:04
A character set is a mapping relationship or encoding rule, including a coded character set and character encoding. The code points corresponding to a character set are mapped into binary sequences, so that they can be stored and processed by a computer.
This document describes how to change the character set of an instance in the console.
Note:
Modifying the character set of an instance may cause the instance to restart. So we recommend that you modify it during the instance maintenance time.

Directions

On the cluster list page, proceed based on the actually used view mode.
Tab view
List view
1. Log in to the TDSQL-C for MySQL console, and click the target cluster in the cluster list on the left to enter the cluster management page.
2. On the Cluster Details page, find the target instance, and click Details next to the instance ID to enter the instance details page.
3. On the instance details page, click the modification icon next to Character Set.

4. In the pop-up dialog box, select a character set, select the execution mode, and click OK.

Character Set: The supported character sets include UTF8, LATIN1, GBK, UTF8MB4, UJIS, SJIS, and CP932. The UJIS, SJIS, and CP932 character sets can be configured only in the Tokyo region. For more information about character sets, see MySQL Official Documentation.
Execution Mode: You can select Execute now or During maintenance time. If you select Immediate execution, the character set is immediately modified; if you select During maintenance period, the character set is modified during the instance maintenance time. For more information about how to modify the instance maintenance time, see Modifying the Instance Maintenance Time.
1. Log in to the TDSQL-C for MySQL console and click the ID of the target cluster in the cluster list to enter the cluster management page.
2. On the instance management page, select the Instance List tab and click the ID of the target read-write or read-only instance to enter the instance details page.
3. On the instance details page, click the modification icon next to Character Set.

4. In the pop-up dialog box, select a character set, select the execution mode, and click OK.

Character Set: The supported character sets include UTF8, LATIN1, GBK, UTF8MB4, UJIS, SJIS, and CP932. The UJIS, SJIS, and CP932 character sets can be configured only in the Tokyo region. For more information about character sets, see MySQL Official Documentation.
Execution Mode: You can select Execute now or During maintenance time. If you select Immediate execution, the character set is immediately modified; if you select During maintenance period, the character set is modified during the instance maintenance time. For more information about how to modify the instance maintenance time, see Modifying the Instance Maintenance Time.
Was this page helpful?
You can also Contact Sales or Submit a Ticket for help.
Yes
No

Feedback