MySQL and MariaDB MySQL restarted alert


The MySQL Restarted alert notifies you when its configured condition is met on MySQL and MariaDB instances so you can investigate and respond.

Screenshot pending: Mini DBA MySQL and MariaDB MySQL Restarted alert screenshot placeholder

Alert summary

  • Platform: MySQL and MariaDB
  • Alert category: Availability
  • Default enabled: true
  • Default evaluation frequency: Minute
  • Threshold label: Seconds since restart
  • Unit: seconds

What Mini DBA checks

Mini DBA describes this alert as: MySQL has restarted recently. Unexpected restarts can indicate crashes, failovers, patching, memory pressure, or manual maintenance that applications may have felt as an outage. Mini DBA evaluates this alert once a minute so changes are detected quickly.

How this alert helps

This alert protects availability by warning when Mini DBA cannot reach the monitored MySQL and MariaDB instance or when the service state changes unexpectedly. It is often the first signal that users will see connection failures before deeper diagnostic metrics can be collected.

When to enable it

Enable it on any monitored MySQL and MariaDB instance where this condition would require an administrator to investigate or communicate with the application team. Tune noisy development systems after you have a short baseline.

Threshold guidance

Threshold meaning: Seconds since restart. Major threshold: 300 seconds. Comparison direction: under. For an under-threshold alert, increasing a threshold makes that severity fire sooner; decreasing it waits until the value falls further. Set the minor threshold as an early-warning level and the major threshold at the lowest acceptable value for the service.

Remediation for an active alert

Open the related Mini DBA page for the instance, compare the current value with the recent baseline, identify whether the change is caused by workload, configuration, host capacity, or maintenance, then record the corrective action in the incident notes.

Investigation workflow

  1. Confirm the alert is still active and note the first seen time, affected instance, and severity.
  2. Review the current metric, the recent trend, and the affected database, login, host, or application in Mini DBA before changing configuration or ending sessions.
  3. Compare the current value with the normal baseline for the same time of day or maintenance window.
  4. Record the cause, corrective action, and whether thresholds or routing should be adjusted after the incident.

Avoiding alert noise

If the alert creates repeated noise, review whether it is enabled on the correct instances, whether maintenance windows are configured, and whether the minor and major routes match the real business impact. Keep enough history to prove the new setting before changing it broadly.

Related pages