CorefinityCorefinityDocs
Open the Control PanelControl Panel
PHP and runtime · 2 of 22

corestack_mariadb_version_change

Change the MariaDB version.

Scope writeRuns as a taskNo secrets returnedCoreCluster
On this page

When to use it

Move a row's MariaDB one version forward, now or tonight. Versions only go forward, one step at a time.

Ask for it

Prompt
Using the Corefinity MCP server, call corestack_mariadb_version_change with site_id 4211, to 11.4. (Change the MariaDB version.) Tell me what it returned.

Inputs

applystring

now (the default), or tonight in the row's maintenance window. window: the row's next maintenance window (tonight is kept as its alias). Defaults to now.

nowwindowtonight
site_idintegerRequired

The row: the site or one of its environments. At least 1.

tostringRequired

The next MariaDB version, e.g. 11.4. Up to 8 characters.

Example call

tools/call
{
  "name": "corestack_mariadb_version_change",
  "arguments": {
    "site_id": 4211,
    "to": "11.4"
  }
}

If it is refused

ReasonWhat to do
invalid_argumentsto is not the next MariaDB version this row is offered: versions move forward, one step at a time. A Shopware or Shopware 5 site runs MariaDB 11.4 and 11.8 only, so 12.3 is refused for it ("Shopware 5 runs MariaDB 11.4 and 11.8 only").
feature_offapply: "tonight" needs the maintenance window queue, which is switched off; leave apply out to make the change now.
change_pendingA change is already queued for this row's maintenance window; apply or cancel it first (corestack_pending_changes_list).
busyAnother change is running on this row; wait for it (corestack_site_operation_get) and call again.
not_availableThis row's MariaDB version is not managed here; stop.
temporarily_unavailableThe site's live status could not be read, or the site is not running normally; try again in a minute.
removedThe row has been removed.
managed_elsewhereAnother control panel manages this site, so use that control panel for it. This is refused before anything else about the site, as in the Control Panel and the API. Nothing was done.
image_not_offeredThe MariaDB version this change needs is not one Corefinity offers right now (withdrawn, or not published yet). Nothing was changed; send it again once Corefinity offers that version.
tenant_mismatchThe object does not exist or the token may not see it. Check the id.
scope_requiredThe token lacks a scope this call needs. Open the link in the answer to add it, then call again.
pin_refusedThe grant is limited to chosen clusters, sites or environments, and this call is outside them. Open the link in the answer to widen it.
rate_limitedToo many calls. Wait for the number of seconds the answer names.
internal_errorSomething went wrong on our side. Quote the trace id to support.

The same task elsewhere

Was this helpful?
Open in ClaudeOpen in ChatGPT