Help Center > > Getting Started
Creating MySQL from a Workload Chart

Creating MySQL from a Workload Chart

Updated at: Nov 11, 2019 GMT+08:00

CCE uses Kubernetes Helm charts to describe a related set of Kubernetes resources. Charts are quick to deploy and manage, greatly simplifying installation, scheduling, and management of Kubernetes resources.

On the CCE console, charts are classified into official charts and custom charts.

This section describes how to create Mysql-ndb from the official mysql-ndb chart.

Mysql-ndb Chart

The mysql-ndb chart can quickly deploy MySQL NDB clusters.

A MySQL NDB cluster is a high-availability and high-redundancy version of MySQL adapted for the distributed computing environment. NDB Cluster is a technology that enables clustering of in-memory databases in a shared-nothing system. NDB Cluster is free from any single point of failure.

Creating a MySQL Database from a Helm Chart

This section describes how to create a MySQL database using an official chart.

  1. Log in to the CCE console. In the navigation pane, choose Charts > Official Charts.
  2. On the Official Charts tab page, click Install Chart under the mysql-ndb chart.

    Figure 1 Installing the mysql-ndb chart

  3. Set the installation parameters. Parameters marked with an asterisk (*) are mandatory.

    • Release Name: Specify the name of the workload created after the chart is released. For example, mysql.
    • Chart Name: Select an installed template.
    • Chart Version: Currently, mysql-ndb supports only 1.0.0.
    • Cluster: Select the cluster where the workload will run.
    • Namespace: Select the namespace where the workload will run. If this parameter is left unspecified, the default namespace is used.
    • Workload Deployment Specifications: Select standard specifications or customize the specifications.
    • Description: Enter the description of the release.
    • Database Name: The default value is clustertest. You can also change the value.
    • Normal User Name of Database: The default value is testuser. You can also change the value.
    • Normal User Login Password of Database: Retain the default value or set it as required.
    • Administrator Password: The default value is root. You can also change the value. The name of the MySQL administrator is root.
      Figure 2 Configuring basic chart information

  4. After the configuration is complete, click Install Now. Confirm the specifications, and click Submit. Then click Back to Release List.

    After the installation is complete, you can view the installed MySQL on the Releases tab page.

    Figure 3 Installed releases

  5. Click View Access Mode in the Operation column of the MySQL to view the access address, username, and password.

    Figure 4 Viewing the access address

Related Operations

For details on how to use the MySQL database, see Creating WordPress from Images.

Did you find this page helpful?

Submit successfully!

Thank you for your feedback. Your feedback helps make our documentation better.

Failed to submit the feedback. Please try again later.

Which of the following issues have you encountered?







Please complete at least one feedback item.

Content most length 200 character

Content is empty.

OK Cancel