Initializing CDB for MySQL

Last updated: 2020-08-10 11:55:03

    After creating a TencentDB for MySQL instance, you need to initialize it before you can enable it.


    1. Log in to the TencentDB for MySQL Console, select the target region, select an instance in "Uninitialized" status in the instance list, and click Initialize in the "Operation" column.
    2. In the initialization dialog box that pops up, configure the parameters related to initialization, and click OK.
      • Supported Character Set: LATIN1, GBK, UTF8, and UTF8MB4 character sets are supported. The default value is LATIN1, i.e., ISO-8859-1 encoding format. After initializing the instance, you can also change the character set on the instance details page in the console.
      • Table Name Case Sensitivity: set whether the table name is case-sensitive, which is yes by default.
      • Custom Port: the database access port, which is 3306 by default.
      • Set Password of Root Account: the username of the newly created TencentDB for MySQL instance is root by default. Set a password for this root account.
      • Confirm Password: enter the password again.
    3. Return to the instance list. After the status of the instance changes to "Running", the instance can be used normally.

    Subsequent Steps

    You can connect to TencentDB for MySQL over both the private and public networks from a Windows or Linux CVM instance. For more information, please see Connecting to MySQL Instance.

    Was this page helpful?

    Was this page helpful?

    • Not at all
    • Not very helpful
    • Somewhat helpful
    • Very helpful
    • Extremely helpful
    Send Feedback