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/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- MYSQL TABLE CHANGE STORAGE ENGINEMySql
- 解決ERROR 1030 (HY000): Got error 168 from storage engine apparmorErrorGoAPP
- MySQL:ERROR 1286 (42000): Unknown storage engine 'MyISAM'MySqlError
- Got error 28 from storage engine 解決方法GoError
- ERROR 1031 (HY000): 表引擎沒有這個選項Error
- 【MySQL】ERROR 1005 (HY000): Can't create table' (errno: 150)MySqlError
- alter table engine=memory ERROR 1114Error
- ERROR 1114 (HY000) The table '' is fullError
- ERROR 1548 (HY000): Cannot load from mysql.proc. The table is probably corruptedErrorMySql
- ERROR 1168 (HY000): Unable to open underlying table which isError
- AUTO_INCREMENT ON the MyISAM STORAGE ENGINEREM
- MYSQL ERROR 2003 (HY000) CanMySqlError
- MySQL "ERROR 1010(HY000):Error dropping database(canMySqlErrorDatabase
- ERROR 1786 (HY000): Statement violates GTID consistency: CREATE TABLE ... SELECTError
- ERROR 1206 (HY000): The total number of locks exceeds the lock table sizeError
- ERROR 1290 (HY000): The MySQL server is running withErrorMySqlServer
- ERROR 1010 (HY000) mysql 5.5.19ErrorMySql
- 【MySQL】5.6.x InnoDB Error Table mysql.innodb_table_stats not foundMySqlError
- ERROR 23 (HY000) at line 29963: Out of resources when opening fileError996
- ERROR 1114 (HY000): The table 'test1' is full 的解決Error
- 【MySQL】ERROR 1878 (HY000): Temporary file write failure.MySqlErrorAI
- [ERROR] Can't open the mysql.plugin tableErrorMySqlPlugin
- Azure 基礎:Table storage
- ERROR 1005 (HY000): Can't create table 'starive.SC' (errno: 150)"Error
- Mysql連線錯誤ERROR 2003 (HY000)MySqlError
- 【Mysql】ERROR 1872 (HY000): Slave failed to initialize relay log infoMySqlErrorAI
- 【MySQL】ERROR 1799 (HY000) innodb_online_alter_log_max_size引數過小的一則caseMySqlError
- MYSQL ERROR 1146 Table doesnt exist 解析MySqlError
- ERROR 1005 (HY000): Can't create table'matrix.system_log' (errno: 150)Error
- MySQL報錯Table 'plugin' is read only [ERROR] Can't open the mysql.plugin table.MySqlPluginError
- 記錄一次常見的錯誤:java.sql.SQLException: Got error 28 from storage engineJavaSQLExceptionGoError
- Percona XtraDB Storage Engine安裝筆記筆記
- Failed to read auto-increment value from storage engineAIREM
- from v * ERROR at line 1: ORA-00942: table or view does not existErrorView
- ERROR 1840 (HY000) at line 24: @@GLOBAL.GTID_PURGED can only be set when @@GLOBAError
- MySQL報錯ERROR 2013 (HY000): Lost connection to MySQL server during queryMySqlErrorServer
- MySQL5.6:mysql_secure_installation 報錯ERROR 2002 (HY000)MySqlError
- MySQL oak-online-alter-table工具使用初探MySql