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 databases

AI-generated

Summary

Retrieve the list of MySQL databases configured on the WHM server.

Inputs

None.

Output shape

a JSON object containing the MySQL databases information as returned by the WHM API.

No input parameters are required or available for this operation. The output corresponds directly to the WHM API response for MySQL databases and may include multiple database entries with their details.

Examples

Example 1: Use this operation to get all MySQL databases managed through WHM for inventory or automation purposes.

No parameters required.

Links

Discussion