Get MySQL Managed Database credentials

Display the root username and password for an accessible MySQL Managed Database. The database's status needs to be active.

Permissions and scopes

To call this operation, you need the following:

  • Identity and access permissions. Your user needs these roles assigned. Learn more.

    • Roles: database_viewer
  • OAuth scopes. Your user needs these scopes assigned. Learn more.

    • Scopes: databases:read_only

CLI

linode-cli databases mysql-creds-view 123

Learn more

Path Params
string
enum
required

Enum Call either the v4 URL, or v4beta for operations still in Beta.

Allowed:
integer
required

The unique identifier for a MySQL Managed Database. Run the List MySQL Managed Databases operation and store the id for the desired one.

Responses

Language
Credentials
LoadingLoading…
Response
Choose an example:
application/json