ERROR 1548 (HY000): Cannot load from mysql.proc. The table is probably corrupted
mysql> SHOW FUNCTION STATUS ;
ERROR 1548 (HY000): Cannot load from mysql.proc. The table is probably corrupted
mysql> check table mysql.proc;
+------------+-------+----------+----------+
| Table | Op | Msg_type | Msg_text |
+------------+-------+----------+----------+
| mysql.proc | check | status | OK |
+------------+-------+----------+----------+
1 row in set (0.01 sec)
日誌檔案中:
150820 18:00:57 [ERROR] Incorrect definition of table mysql.proc: expected column 'comment' at position 15 to have type text, found type char(64).
CREATE TABLE `proc` (
`db` char(64) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL DEFAULT '',
`name` char(64) NOT NULL DEFAULT '',
`type` enum('FUNCTION','PROCEDURE') NOT NULL,
`specific_name` char(64) NOT NULL DEFAULT '',
`language` enum('SQL') NOT NULL DEFAULT 'SQL',
`sql_data_access` enum('CONTAINS_SQL','NO_SQL','READS_SQL_DATA','MODIFIES_SQL_DATA') NOT NULL DEFAULT 'CONTAINS_SQL',
`is_deterministic` enum('YES','NO') NOT NULL DEFAULT 'NO',
`security_type` enum('INVOKER','DEFINER') NOT NULL DEFAULT 'DEFINER',
`param_list` blob NOT NULL,
`returns` longblob NOT NULL,
`body` longblob NOT NULL,
`definer` char(77) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL DEFAULT '',
`created` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
`modified` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
`sql_mode` 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') NOT NULL DEFAULT '',
`comment` char(64) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL DEFAULT '',
`character_set_client` char(32) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
`collation_connection` char(32) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
`db_collation` char(32) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
`body_utf8` longblob,
PRIMARY KEY (`db`,`name`,`type`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='Stored Procedures' |
這是當前庫的。
找一個正常的庫
`comment` text CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
看來是需要 mysql_upgrade
轉載請註明源出處
QQ 273002188 歡迎一起學習
QQ 群 236941212
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/25099483/viewspace-1787972/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Error: cannot fetch last explain plan from PLAN_TABLEErrorASTAI
- ERROR 1114 (HY000) The table '' is fullError
- ERROR 1661 (HY000): Cannot execute statement: impossible to write to binaryError
- ERROR 1168 (HY000): Unable to open underlying table which isError
- 解決ERROR 1030 (HY000): Got error 168 from storage engine apparmorErrorGoAPP
- ERROR 1577 (HY000): Cannot proceed because system tables used by Event ScheduleError
- 【轉】Cannot load ICU resource bundle 'ggMessage', error code 2Error
- MySQL ERROR 1031 (HY000) at line 33: Table storage engine forMySqlError
- GoldenGate "Error mapping from table.a to table.a"錯誤測試GoErrorAPP
- ERROR 1786 (HY000): Statement violates GTID consistency: CREATE TABLE ... SELECTError
- ERROR 1206 (HY000): The total number of locks exceeds the lock table sizeError
- 【MySQL】ERROR 1005 (HY000): Can't create table' (errno: 150)MySqlError
- ERROR 1114 (HY000): The table 'test1' is full 的解決Error
- Cannot load from short array because "sun.awt.FontConfiguration.head" is nullNull
- ERROR 1005 (HY000): Can't create table 'starive.SC' (errno: 150)"Error
- Percona MySQL 5.6 語句加鎖報錯"ERROR 1665 (HY000): Cannot execute statement"MySqlError
- from v * ERROR at line 1: ORA-00942: table or view does not existErrorView
- An error from listenerError
- ERROR 1005 (HY000): Can't create table'matrix.system_log' (errno: 150)Error
- JSON parse error: Cannot deserialize value of type `java.time.LocalDateTime` from StringJSONErrorJavaLDA
- mysql 8 報錯 ERROR 1872 (HY000): Slave failed to initialize relay log info structure from the repositoryMySqlErrorAIStruct
- ERROR 1010 (HY000): Error dropping databaseErrorDatabase
- 開啟託管server報錯:Cannot read from policy store. Reason is PolicyStore ErrorServerError
- Unreal: Dynamic load map from Pak fileUnreal
- 報錯Intel MKL FATAL ERROR: Cannot load libmkl_core.so.的一種解決方法IntelErrorIBM
- Failed to load libGL.so error libGL.so: cannot open shared object file: No such file or directoryAIErrorObject
- ERROR 1524 (HY000): Plugin is not loadedErrorPlugin
- ERROR 2026 (HY000): SSL connection error: unknown error numberError
- cannot import name ‘multiarray‘ from ‘numpy.core‘Import
- Uncaught Error: Cannot instantiate interfaceError
- ‘error: ‘‘this‘‘ cannot be implicitly captured in this context‘ErrorAPTContext
- SNMP TABLE ERROR : Requested table is empty or does not existError
- MySQL "ERROR 1010(HY000):Error dropping database(canMySqlErrorDatabase
- 高手sos!!! Unable to load document from file...
- MYSQL ERROR 2003 (HY000) CanMySqlError
- ImportError: cannot import name ‘BaseQuery‘ from ‘flask_sqlalchemy‘ImportErrorFlaskSQL
- MapStruct-plus cannot find converter fromStruct
- Fatal error: Cannot redeclare printerror() (previously declared in …Error