Skip to main content

mysql_instances_credentials

Overview

Namemysql_instances_credentials
TypeResource
Idlinode.databases.mysql_instances_credentials

Fields

NameDatatypeDescription
passwordstringThe randomly-generated root password for the Managed Database instance.
usernamestringThe root username for the Managed Database instance.

Methods

NameAccessible byRequired ParamsDescription
getDatabasesMySQLInstanceCredentialsSELECTinstanceIdDisplay the root username and password for an accessible Managed MySQL Database.

The Database must have an active status to perform this command.
_getDatabasesMySQLInstanceCredentialsEXECinstanceIdDisplay the root username and password for an accessible Managed MySQL Database.

The Database must have an active status to perform this command.
postDatabasesMySQLInstanceCredentialsResetEXECinstanceIdReset the root password for a Managed MySQL Database.

Requires read_write access to the Database.

A new root password is randomly generated and accessible with the Managed MySQL Database Credentials View (GET /databases/mysql/instances/{instanceId}/credentials) command.

Only unrestricted Users can access this command, and have access regardless of the acting token's OAuth scopes.

Note: Note that it may take several seconds for credentials to reset.