The custom configurations created with these steps only support standalone DB systems. If you want to create a custom configuration that supports high availability DB systems, you have to perform the steps in Copying a Configuration.
Use the Console to create a custom configuration for the DB system.
This task requires the following:
A policy that permits you to create configurations
in the compartment or tenancy.
Do the following to create a custom configuration using the
console:
Open the navigation menu and select Databases. Under HeatWave MySQL, select Configurations.
Select Create Configuration.
In the Provide basic information for the configuration section, enter the following information:
Name: Specify a user-friendly display name for the configuration. The name does not need to be unique. A unique Oracle Cloud Identifier (OCID) is generated to identify the configuration.
Description: (Optional) Specify a description for the configuration.
In the Configure placement and hardware section, enter the following information:
Select a Compartment: If you want to create the configuration in a different compartment, select the required compartment.
Select a Shape: Specify the shape associated with the configuration. Select Select Shape to open the Browse All Shapes dialog box. Select the required shape. Then, select Select a Shape. See Supported Shapes.
In the Initialization variables section, you can select Ignore case in table and schema names to disable table and schema names case sensitivity. See Initialization Variables.
In the User variables (read/write) section, select the variable you want to add in Variable Names drop down list, and enter or select the Variable Value. To add another variable to your configuration, select +Another Variable.
Every configuration has a set of default system and user variables. If you do not select any variable, Oracle adds these default variables to the Configuration. See System Variables and User Variables.
(Optional) Select Show advanced options to expand the Tags section. You can add a tag by selecting a Tag namespace and enter a Tag key and its Tag value. If you want to add another tag, select Add tag to create another row.
Once you create the configuration, you cannot edit the variables defined on the configuration. To edit variables, create a new configuration with the desired variables, or copy an existing configuration, edit the variables, and edit the DB system to use the new configuration. See Updating the Configuration of a DB System.
Using the CLI 🔗
Use the command-line interface to create a custom configuration for the
DB system.
This task requires the following:
A compartment Oracle Cloud Identifier (OCID).
A policy that permits you to create configurations in the compartment or
tenancy.
A properly configured CLI installation and the requisite SSH keys. See Command Line Interface.
Create a custom configuration using the CLI:
Open a command prompt and run the following command:
compartment-id: Specify the OCID of the compartment in you create your configuration..
description: (Optional) Specify a brief description of the configuration.
display-name: (Optional) Specify the display name of the configuration. If you do not define a display name, Oracle generates one for you in the mysqlconfigurationYYYYMMDDHHMMSS format.
shape-name: Specify the name of the shape. For example, MySQL.4.
variables: (Optional) Specify the variables and their corresponding values as key value pairs in a JSON object, for example:
{ "autocommit": true, "connectTimeout": 20 }
If the command validates and runs successfully, you get a response similar to the following, which summarizes the request and creates the configuration: