Bug #70975 ERROR 1577 (HY000): Cannot proceed because system tables used by Event Scheduler
| Submitted: | 21 Nov 2013 16:44 | Modified: | 23 Mar 2017 10:19 |
|---|---|---|---|
| Reporter: | Simon Mudd | Email Updates: | |
| Status: | Verified | Impact on me: | |
| Category: | MySQL Server: Stored Routines | Severity: | S3 (Non-critical) |
| Version: | 5.5.23, 5.5.35, 5.6.16,5.7.17 | OS: | Any |
| Assigned to: | CPU Architecture: | Any | |
| Tags: | event_scheduler | ||
[21 Nov 2013 16:44]
Simon Mudd
[21 Nov 2013 16:49]
Simon Mudd
Note: restarting mysql fixed the problem, but that is rather intrusive and leaves the server cold for a while.
[28 Nov 2013 19:18]
Sveta Smirnova
Thank you for the report. Verified as described using code analysis: flag check_system_tables_error set to TRUE in Events::init in case if table is corrupted and never resets back to FALSE. I think one can hit other effect of this bug: wrong behavior in case if mysql.events get corrupted after Events::init was called.
[23 Mar 2017 9:51]
Simon Mudd
See again today in 5.7.17.
[23 Mar 2017 10:19]
Simon Mudd
So on 5.7.17 I see that I get this same error. * check table currently shows the table as ok * nevertheless mysqld refuses to use it because: 2017-03-23T10:13:39.267721Z 0 [ERROR] Event Scheduler: An error occurred when initializing system tables. Disabling the Event Scheduler. * repair table (as described earlier) doesn't work either * the error message doesn't explain what the problem is. The files I see under $datadir/mysql are: [root@somehost mysql]# ls -la | grep event -rw-r----- 1 mysql mysql 10223 Mar 23 10:55 event.frm -rw-r----- 1 mysql mysql 6632 Mar 23 11:13 event.MYD -rw-r----- 1 mysql mysql 4096 Mar 23 11:13 event.MYI [root@somehost mysql]# Permissions look ok. I'm going to steal the files from a working box (as these are MyISAM tables) and see if that resolves the issue.
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.055 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.