cPanel WHM icon

cPanel WHM

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

Actions262

Database → Return MySQL version

AI-generated

Summary

Retrieve the current MySQL server version from the WHM API without requiring any input parameters.

Inputs

None.

Output shape

a single record containing the MySQL version information as returned by the WHM API

The operation makes an HTTP request to the WHM API endpoint that returns the MySQL version. It returns the raw response data with no additional fields required or optional. Error handling is performed according to the WHM API response format.

Examples

Example 1: Get MySQL version for monitoring or reporting purposes in a workflow.

No inputs required; simply select the 'Return MySQL version' operation under the 'Database' resource to retrieve the version information.

Links

Discussion