MySQL ERROR 1031 (HY000) at line 33: Table storage engine for
今天從5.7mysqldump資料到5.6的時候遇到了ERROR 1031 (HY000) at line 33: Table storage engine for 'department' doesn't have this option錯誤
檢視department建表語句
-
mysql> show create table department \G;
-
*************************** 1. row ***************************
-
Table: department
-
Create Table: CREATE TABLE `department` (
-
`id` int(11) NOT NULL AUTO_INCREMENT COMMENT '部門ID',
-
`code` varchar(64) NOT NULL COMMENT '組織結構code',
-
`name` varchar(90) NOT NULL COMMENT '部門名稱',
-
`fullid` varchar(255) NOT NULL,
-
`fullname` text NOT NULL COMMENT '包括所有上級機構名稱的全名稱',
-
`pid` int(11) NOT NULL COMMENT '父ID',
-
`level` int(11) NOT NULL COMMENT '部門級別',
-
`issub` tinyint(1) NOT NULL COMMENT '是否有下級 0:沒有 ; 1:有',
-
`del` tinyint(1) NOT NULL COMMENT '刪除標記:0否1是',
-
PRIMARY KEY (`id`),
-
KEY `fullid` (`fullid`),
-
KEY `pid_del_idx` (`pid`,`del`),
-
KEY `idx_del` (`del`)
- ) ENGINE=InnoDB AUTO_INCREMENT=847 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='部門表'
問題應該是出在row_format上,繼續查
-
mysql> show variables like 'innodb_file_format';
-
+--------------------+----------+
-
| Variable_name | Value |
-
+--------------------+----------+
-
| innodb_file_format | Antelope |
-
+--------------------+----------+
- 1 row in set (0.00 sec)
- set global innodb_file_format=barracuda;
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/20893244/viewspace-2138132/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 解決ERROR 1030 (HY000): Got error 168 from storage engine apparmorErrorGoAPP
- MySQL:ERROR 1286 (42000): Unknown storage engine 'MyISAM'MySqlError
- ERROR 1114 (HY000) The table '' is fullError
- ERROR 1290 (HY000): The MySQL server is running withErrorMySqlServer
- ERROR 1786 (HY000): Statement violates GTID consistency: CREATE TABLE ... SELECTError
- ERROR 1840 (HY000) at line 24: @@GLOBAL.GTID_PURGED can only be set when @@GLOBAError
- Mysql連線錯誤ERROR 2003 (HY000)MySqlError
- 【MySQL】ERROR 1878 (HY000): Temporary file write failure.MySqlErrorAI
- MySQL報錯ERROR 2013 (HY000): Lost connection to MySQL server during queryMySqlErrorServer
- ERROR 2013 (HY000): Lost connection to MySQL server at 'reading authorization paErrorMySqlServer
- ERROR 2026 (HY000): SSL connection error: unknown error numberError
- 阿里雲mysql遠端登入報ERROR 2027(HY000)阿里MySqlError
- MySQL 報錯 ERROR 1290 (HY000): running with the --secure-file-privMySqlError
- ERROR 1290 (HY000): The MySQL server is running with the --skip-grant-tables optErrorMySqlServer
- MySQL報錯Table 'plugin' is read only [ERROR] Can't open the mysql.plugin table.MySqlPluginError
- 【MySQL】ERROR 1290 (HY000): --secure-file-priv--匯出報錯MySqlError
- MySQL5.7叢集(MGR)啟動報ERROR 3092 (HY000)MySqlError
- MySQL案例02:ERROR 1221 (HY000): Incorrect usage of DB GRANT and GLOBAL PRIVILEGESMySqlError
- MySQL 使用 show tables 時出現 ERROR 1449 (HY000) 問題MySqlError
- Azure Storage 系列(四)在.Net 上使用Table Storage
- mysql 5.6.25報錯ERROR 1372 (HY000): Password hash 的一點思考MySqlError
- mysql無法建立儲存過程問題 ERROR 1307 (HY000)MySql儲存過程Error
- Failed to read auto-increment value from storage engineAIREM
- Error!: SQLSTATE[HY000] [2002] Connection refusedErrorSQL
- Azure Storage 系列(五)通過Azure.Cosmos.Table 類庫在.Net 上使用 Table Storage
- MySQL 5.7 建立使用者報錯 ERROR 1805 (HY000): Column count of mysql.user is wrongMySqlError
- Centos7-mysql執行報錯ERROR1820(HY000):YoumustresetyourpasswordusingALTERUSERstatementbeforeexecutingthisstatement.CentOSMySqlError
- Linux:ERROR 1290 (HY000): The MySQL server is running with the --skip-grant-tables option so it cannLinuxErrorMySqlServer
- ERROR 1290 (HY000) 解決辦法Error
- Binary XML file line #2: Error inflatingXMLError
- Error running ‘Application’Command line is too longErrorAPP
- Solaris awk: syntax error near line 1 awk: bailing out near line 1ErrorAI
- MySQL建立使用者報錯 ERROR 1396 (HY000): Operation CREATE USER failed for 'afei'@'%'MySqlErrorAI
- Azure Table Storage(一) : 簡單介紹
- 【C進階】#error和#line使用分析Error
- mysql 8 報錯 ERROR 1872 (HY000): Slave failed to initialize relay log info structure from the repositoryMySqlErrorAIStruct
- mysql錯誤詳解(1819):ERROR 1819 (HY000): Your password does not satisfy the current policy requirementsMySqlErrorUIREM
- linux下連線mysql報錯ERROR 2002 (HY000): Can‘t connect to local MySQL server through socket ‘/var/lib/mysqLinuxMySqlErrorServer
- [20221227]a mutating table error without a trigger!.txtError