ERROR 1577 (HY000): Cannot proceed because system tables used by Event Schedule
mysql> select *from information_schema.events;
ERROR 1577 (HY000): Cannot proceed because system tables used by Event Scheduler were found damaged at server start
mysql> show variables like 'event_scheduler';
+-----------------+----------+
| Variable_name | Value |
+-----------------+----------+
| event_scheduler | DISABLED |
+-----------------+----------+
1 row in set (0.00 sec)
mysql> select * from mysql.event;
Empty set (0.00 sec)
log中
2015-08-28 06:56:41 1628 [ERROR] Incorrect definition of table mysql.db: expected column 'User' at position 2 to have type char(16), found type char(80).
2015-08-28 06:56:41 1628 [ERROR] Incorrect definition of table mysql.event: expected column 'definer' at position 3 to have type char(77), found type char(141).
2015-08-28 06:56:41 1628 [ERROR] Incorrect definition of table mysql.event: expected column 'sql_mode' at position 14 to have type set('REAL_AS_FLOAT','PIPES_AS_CONCAT','ANSI_QUOTES','IGNORE_SPACE','NOT_USED','ONLY_FULL_GROUP_BY','NO_UNSIGNED_SUBTRACTION','NO_DIR_IN_CREATE','POSTGRESQL','ORACLE','MSSQL','DB2','MAXDB','NO_KEY_OPTIONS','NO_TABLE_OPTIONS','NO_FIELD_OPTIONS','MYSQL323','MYSQL40','ANSI','NO_AUTO_VALUE_ON_ZERO','NO_BACKSLASH_ESCAPES','STRICT_TRANS_TABLES','STRICT_ALL_TABLES','NO_ZERO_IN_DATE','NO_ZERO_DATE','INVALID_DATES','ERROR_FOR_DIVISION_BY_ZERO','TRADITIONAL','NO_AUTO_CREATE_USER','HIGH_NOT_PRECEDENCE','NO_ENGINE_SUBSTITUTION','PAD_CHAR_TO_FULL_LENGTH'), found type set('REAL_AS_FLOAT','PIPES_AS_CONCAT','ANSI_QUOTES','IGNORE_SPACE','IGNORE_BAD_TABLE_OPTIONS','ONLY_FULL_GROUP_BY','NO_UNSIGNED_SUBTRACTION','NO_DIR_IN_CREATE','POSTGRESQL','ORACLE','MSSQL','DB2','MAXDB','NO_KEY_OPTIONS','NO_TABLE_OPTIONS','NO_FIELD_OPTIONS','MYSQL323','MYSQL40','ANSI','NO_AUTO_VALUE_ON_ZERO','NO_BACKSLASH_ESCAPES','STRICT_TRANS_TABLES','STRICT_A
2015-08-28 06:56:41 1628 [ERROR] Event Scheduler: An error occurred when initializing system tables. Disabling the Event Scheduler.
2015-08-28 06:56:41 1628 [Note] /data/program/mysql/mysql-5.6.20/bin/mysqld: ready for connections.
Version: '5.6.20' socket: '/data/instance/mysql-5.6/mysqld.sock' port: 3306 Source distribution
需要對錶進行修復
mysql_upgrade
ERROR 1577 (HY000): Cannot proceed because system tables used by Event Scheduler were found damaged at server start
mysql> show variables like 'event_scheduler';
+-----------------+----------+
| Variable_name | Value |
+-----------------+----------+
| event_scheduler | DISABLED |
+-----------------+----------+
1 row in set (0.00 sec)
mysql> select * from mysql.event;
Empty set (0.00 sec)
log中
2015-08-28 06:56:41 1628 [ERROR] Incorrect definition of table mysql.db: expected column 'User' at position 2 to have type char(16), found type char(80).
2015-08-28 06:56:41 1628 [ERROR] Incorrect definition of table mysql.event: expected column 'definer' at position 3 to have type char(77), found type char(141).
2015-08-28 06:56:41 1628 [ERROR] Incorrect definition of table mysql.event: expected column 'sql_mode' at position 14 to have type set('REAL_AS_FLOAT','PIPES_AS_CONCAT','ANSI_QUOTES','IGNORE_SPACE','NOT_USED','ONLY_FULL_GROUP_BY','NO_UNSIGNED_SUBTRACTION','NO_DIR_IN_CREATE','POSTGRESQL','ORACLE','MSSQL','DB2','MAXDB','NO_KEY_OPTIONS','NO_TABLE_OPTIONS','NO_FIELD_OPTIONS','MYSQL323','MYSQL40','ANSI','NO_AUTO_VALUE_ON_ZERO','NO_BACKSLASH_ESCAPES','STRICT_TRANS_TABLES','STRICT_ALL_TABLES','NO_ZERO_IN_DATE','NO_ZERO_DATE','INVALID_DATES','ERROR_FOR_DIVISION_BY_ZERO','TRADITIONAL','NO_AUTO_CREATE_USER','HIGH_NOT_PRECEDENCE','NO_ENGINE_SUBSTITUTION','PAD_CHAR_TO_FULL_LENGTH'), found type set('REAL_AS_FLOAT','PIPES_AS_CONCAT','ANSI_QUOTES','IGNORE_SPACE','IGNORE_BAD_TABLE_OPTIONS','ONLY_FULL_GROUP_BY','NO_UNSIGNED_SUBTRACTION','NO_DIR_IN_CREATE','POSTGRESQL','ORACLE','MSSQL','DB2','MAXDB','NO_KEY_OPTIONS','NO_TABLE_OPTIONS','NO_FIELD_OPTIONS','MYSQL323','MYSQL40','ANSI','NO_AUTO_VALUE_ON_ZERO','NO_BACKSLASH_ESCAPES','STRICT_TRANS_TABLES','STRICT_A
2015-08-28 06:56:41 1628 [ERROR] Event Scheduler: An error occurred when initializing system tables. Disabling the Event Scheduler.
2015-08-28 06:56:41 1628 [Note] /data/program/mysql/mysql-5.6.20/bin/mysqld: ready for connections.
Version: '5.6.20' socket: '/data/instance/mysql-5.6/mysqld.sock' port: 3306 Source distribution
需要對錶進行修復
mysql_upgrade
轉載請註明源出處
QQ 273002188 歡迎一起學習
QQ 群 236941212
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/25099483/viewspace-1787968/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Dynamics CRM the field cannot be deleted because it is used in one or more process的解決方法delete
- ERROR 1290 (HY000): The MySQL server is running with the --skip-grant-tables optErrorMySqlServer
- Error:Cannot build artifact xxx:war exploded‘ because it is included into a circular dependencyErrorUI
- MySQL 使用 show tables 時出現 ERROR 1449 (HY000) 問題MySqlError
- Linux:ERROR 1290 (HY000): The MySQL server is running with the --skip-grant-tables option so it cannLinuxErrorMySqlServer
- CMake Error: add_executable cannot create target ““ because another target with the same name已解決Error
- the --skip-grant-tables option so it cannot
- ERROR 2026 (HY000): SSL connection error: unknown error numberError
- ERROR 1114 (HY000) The table '' is fullError
- System Error CodesError
- 解決 TypeError: Type aliases cannot be used with isinstance(). 辦法Error
- object dict cannot be used in await expression報錯解釋ObjectAIExpress
- JDK 載入jar中的檔案資源出現Cannot be resolved to absolute file path because it does not reside in the file systemJDKJARIDE
- Error!: SQLSTATE[HY000] [2002] Connection refusedErrorSQL
- ERROR 1290 (HY000): The MySQL server is running withErrorMySqlServer
- ‘error: ‘‘this‘‘ cannot be implicitly captured in this context‘ErrorAPTContext
- Uncaught Error: Cannot instantiate interfaceError
- ERROR 1290 (HY000) 解決辦法Error
- throw er; // Unhandled 'error' eventError
- 解決ERROR 1030 (HY000): Got error 168 from storage engine apparmorErrorGoAPP
- ERROR: Cannot uninstall ‘PyYAML‘. It is a distutils installed project and thus we cannot accuratelyErrorYAMLProject
- Mysql連線錯誤ERROR 2003 (HY000)MySqlError
- Cannot load from short array because "sun.awt.FontConfiguration.head" is nullNull
- Fatal error: Cannot redeclare printerror() (previously declared in …Error
- Error: Cannot find configuration directory: /etc/hadoopErrorHadoop
- sqlserver bulk insert報錯Cannot bulk load because the file could not be opened.SQLServer
- [20200416]ORA-01187 cannot read from file because it failed verification tests.AI
- 【MySQL】ERROR 1878 (HY000): Temporary file write failure.MySqlErrorAI
- Job for docker.service failed because the control process exited with error codeDockerAIError
- [20191119]測試dbms_system.wait_for_event.txtAI
- iis 0x80070032 Cannot read configuration file because it exceeds the maximum file size
- ERROR 1786 (HY000): Statement violates GTID consistency: CREATE TABLE ... SELECTError
- ERROR 2013 (HY000): Lost connection to MySQL server at 'reading authorization paErrorMySqlServer
- Job for mysqld.service failed because the control process exited with error code...MySqlAIError
- python 報錯:raise IllegalCharacterError(f"{value} cannot be used in worksheets.") openpyxl.utils.exceptions.IllegalCharacterErrorPythonAIErrorException
- alter system set event和set events的區別
- 阿里雲mysql遠端登入報ERROR 2027(HY000)阿里MySqlError
- MySQL 報錯 ERROR 1290 (HY000): running with the --secure-file-privMySqlError
- SQLSTATE[HY000]: General error: 1615 Prepared statement needs to be re-preparedSQLError