Validate MySQL status before upgrade

This function checks your MySQL configuration file and table engine before an upgrade to MySQL 8.0.

Important:

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

Authorizations:

Responses

Response Schema: application/json
object
object

Request samples

whmapi1 --output=jsonpretty \
  background_mysql_upgrade_checker_run

Response samples

Content type
application/json
{
  • "data": {
    • "log_entry": "mysql_upgrade.20200202-172923",
    • "pid": 23456
    },
  • "metadata": {
    • "command": "background_mysql_upgrade_checker_run",
    • "reason": "OK",
    • "result": 1,
    • "version": 1
    }
}