Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-40095

Server doesn't start if system triggers not loaded (if cannot open mysql.event)

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Critical
    • Resolution: Fixed
    • N/A
    • N/A
    • Triggers
    • None
    • Can result in unexpected behaviour
    • Q4/2026 Server Maintenance

    Description

      drop table mysql.event;
      --source include/restart_mysqld.inc
      select 1;
      

      2026-06-17 17:35:50 0 [ERROR] Cannot open mysql.event
      2026-06-17 17:35:50 0 [ERROR] mariadbd: Event Scheduler: An error occurred when initializing system tables. Disabling the Event Scheduler.
      2026-06-17 17:35:50 0 [ERROR] mariadbd: An error occurred when loading data from the table mysql.event. System triggers not loaded
      2026-06-17 17:35:50 0 [ERROR] Aborting
      

      regression vs e.g 12.3, server starts up there, just prints the error in log and proceeds

      Attachments

        Issue Links

          Activity

            People

              shulga Dmitry Shulga
              alice Alice Sherepa
              Dmitry Shulga Dmitry Shulga
              Oleksandr Byelkin Oleksandr Byelkin
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 10.1d
                  10.1d
                  Remaining:
                  Remaining Estimate - 0d
                  0d
                  Logged:
                  Time Spent - 7.5h Time Not Required
                  7.5h

                  Git Integration

                    Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.