cPanel WHM icon

cPanel WHM

Full cPanel WHM API — all 622 operations across Accounts, DNS, Mail, SSL, Backups, Databases and more

Actions262

Database → Return available MySQL versions

AI-generated

Summary

Retrieve the list of available MySQL versions supported on the WHM server.

Inputs

None.

Output shape

a JSON object containing available MySQL versions as returned by the WHM API endpoint

No input parameters are required or optional for this operation. The operation calls the appropriate WHM API endpoint and returns the response data containing the available MySQL versions. Errors from the WHM API are validated and surfaced accordingly.

Examples

Example 1: Fetch available MySQL versions to configure a database service

No inputs needed; simply select 'Database' as resource and 'Return available MySQL versions' as operation.

Links

Discussion