Table: oci_mysql_configuration - Query OCI MySQL Configurations using SQL
Oracle Cloud Infrastructure's MySQL Database Service is a fully managed database service that enables you to deploy cloud-native applications using the world’s most popular open source database. It is developed, managed, and supported by the MySQL team. This service is built on MySQL Enterprise Edition and powered by Oracle Cloud, to provide a simple, automated, integrated and enterprise ready MySQL cloud service, enabling organizations to increase business agility and reduce costs.
Table Usage Guide
The oci_mysql_configuration
table provides insights into MySQL configurations within Oracle Cloud Infrastructure's MySQL Database Service. As a Database Administrator, explore configuration-specific details through this table, including configuration type, shape, and associated metadata. Utilize it to uncover information about configurations, such as those related to specific MySQL versions, the details of the configuration parameters, and the verification of configuration statuses.
Examples
Basic info
Explore the basic details of your MySQL configurations to understand their current lifecycle state and creation time, which can be useful for managing and tracking your database resources.
select display_name, id, description, lifecycle_state as state, time_createdfrom oci_mysql_configuration;
select display_name, id, description, lifecycle_state as state, time_createdfrom oci_mysql_configuration;
Schema for oci_mysql_configuration
Name | Type | Operators | Description |
---|---|---|---|
_ctx | jsonb | Steampipe context in JSON form. | |
compartment_id | text | = | The OCID of the compartment in Tenant in which the resource is located. |
defined_tags | jsonb | Defined tags for resource. Defined tags are set up in your tenancy by an administrator. Only users granted permission to work with the defined tags can apply them to resources. | |
description | text | User-provided data about the Configuration. | |
display_name | text | = | The display name of the Configuration. |
freeform_tags | jsonb | Free-form tags for resource. This tags can be applied by any user with permissions on the resource. | |
id | text | = | The OCID of the Configuration. |
lifecycle_state | text | = | The current state of the Configuration. |
parent_configuration_id | text | The OCID of the Configuration from which this Configuration is derived. | |
shape_name | text | = | The name of the associated Shape. |
sp_connection_name | text | =, !=, ~~, ~~*, !~~, !~~* | Steampipe connection name. |
sp_ctx | jsonb | Steampipe context in JSON form. | |
tags | jsonb | A map of tags for the resource. | |
tenant_id | text | =, !=, ~~, ~~*, !~~, !~~* | The OCID of the Tenant in which the resource is located. |
tenant_name | text | The name of the Tenant in which the resource is located. | |
time_created | timestamp with time zone | The date and time the Configuration was created. | |
time_updated | timestamp with time zone | The date and time the Configuration was last updated. | |
title | text | Title of the resource. | |
type | text | The Configuration type, DEFAULT or CUSTOM. | |
variables | text | User controllable service variables of the Configuration. |
Export
This table is available as a standalone Exporter CLI. Steampipe exporters are stand-alone binaries that allow you to extract data using Steampipe plugins without a database.
You can download the tarball for your platform from the Releases page, but it is simplest to install them with the steampipe_export_installer.sh
script:
/bin/sh -c "$(curl -fsSL https://steampipe.io/install/export.sh)" -- oci
You can pass the configuration to the command with the --config
argument:
steampipe_export_oci --config '<your_config>' oci_mysql_configuration