latestOpenAPI 3.0.2cPanel License2026-08-106251554.3 MB

3da41671c02c

Databases
Manage MySQL Server

Return available MySQL versions

This function lists all available versions of MySQL® and MariaDB.

Important:

When you disable the MySQL/MariaDB role and remote MySQL is not already configured, the system disables this function.

get/installable_mysql_versions

Response

HTTP Request was successful.

Example response

{
  "data": {
    "versions": [
      {
        "server": "mariadb",
        "version": "10.0"
      }
    ]
  },
  "metadata": {
    "command": "installable_mysql_versions",
    "reason": "OK",
    "result": 1,
    "version": 1
  }
}