The maximum column size is 767 bytes
ERROR 1709 (HY000): Index column size too large. The maximum column size is 767 bytes.
解決方案:
1.修改mysql
set global innodb_file_format = BARRACUDA;
set global innodb_large_prefix = ON;
set global innodb_file_per_table=ON;
檢視設定結果:
show variables like 'innodb_large_prefix';
show variables like 'innodb_file_format';
show variables like 'innodb_file_per_table';
結果
innodb_large_prefix:ON
innodb_file_format:Barracuda
innodb_file_per_table:ON
2.對指令碼進行修改,新增ROW_FORMAT=DYNAMIC
create table orl (........) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
相關推薦
The maximum column size is 767 bytes
ERROR 1709 (HY000): Index column size too large. The maximum column size is 767 bytes. 解決方案: 1.修改mysql set global innodb_file_format = BARRACU
錯誤的異常資訊為Index column size too large. The maximum column size is 767 bytes
使用mysql建表的時候報索引太大,錯誤異常資訊為Index column size too large. The maximum column size is 767 bytes。 首先我先將mysql的配置檔案更改了一下設定為 default-storage
mysql specified key was too long與Index column size too large. The maximum column size is 767 bytes.
第一個問題:要設定utf-8就好; Index column size too large. The maximum column size is 767 bytes. 第一步:use 進入資料庫 執行: set global innodb_file_format
linux導出Excel The maximum column width for an individual cell is 255 characters
class exce 方案 linu excel cnblogs cte for char linux環境到處Excel報錯: The maximum column width for an individual cell is 255 characters 解決方案:
Spring Boot修改最大上傳檔案限制:The field file exceeds its maximum permitted size of 1048576 bytes.
SpringBoot做檔案上傳時出現了The field file exceeds its maximum permitted size of 1048576 bytes.錯誤,顯示檔案的大小超出了允許的範圍。查看了官方文件,原來Spring Boot工程嵌入的tomcat限制了請求的檔案大小,這一
Spring Boot:The field file exceeds its maximum permitted size of 1048576 bytes.
Spring Boot做檔案上傳時出現了The field file exceeds its maximum permitted size of 1048576 bytes.錯誤,顯示檔案的大小超出了允許的範圍。查看了官方文件,原來Spring Boot工程嵌入的tomcat限制了請求的檔案大小,這
The field file exceeds its maximum permitted size of 20971520 bytes
今天使用spring boot工程,上傳檔案報錯,意思為:上傳檔案超過限制。 The field file exceeds its maximum permitted size of 20971520 bytes. 配置上傳檔案限制 不限制大小: -1 單位:MB,
Spring Boot 批量上傳: The field files exceeds its maximum permitted size of 1048576 bytes.
Spring Boot 批量上傳異常: org.apache.tomcat.util.http.fileupload.FileUploadBase$FileSizeLimitExceededException: The field files exceeds its max
hive報錯: Specified key was too long; max key length is 767 bytes
character 修改表 The value user 整理 query 道理 並且 DataNucleus.Datastore (Log4JLogger.java:error(115)) - An exception was thrown while adding/v
[MySQL] 索引超出限制,導致#1071 - Specified key was too long; max key length is 767 bytes
錯誤復現 建立如下一張表: create table `mytable` ( id bigint primary key not null auto_increment, column1 varchar(255), column2 varchar(255) ) engine Inno
laravel migrate時報錯:Syntax error or access violation: 1071 Specified key was too long; max key length is 767 bytes
今天在學習laravel的路由模型繫結時,在按照文件執行php artisan migrate時報錯。 In Connection.php line 664: SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was
MySQL 問題分析:ERROR 1071 (42000) : Specified key was too long; max key length is 767 bytes
今天在MySQL 5.6版本的資料庫中修改InnoDB表字段長度時遇到了”ERROR 1071 (42000): Specified key was too long; max key length is 767 bytes”錯誤,第一次遇到這個錯誤,遂花了點學習、研究過、
django.db.utils.OperationalError: (1071, 'Specified key was too long; max key length is 767 bytes');
ali iss xxxxx beat 字符串類型 參數設置 5.6 detail spa 在使用utf8mb4字符集的情況下,如果列存在索引,那麽varchar的最大長度是191 數據庫版本: 在使用utf8字符集的情況下,如果列存在索引,那麽varchar的最大長度是2
mycat 啟動失敗 The specified size exceeds the maximum representable size JVM exited while loading the a
錯誤資訊: [[email protected] bin]# ./mycat console Running Mycat-server... wrapper | --> Wrapper Started as Console wrapper | Launc
Spark連線Hive 建立表提示"Specified key was too long; max key length is 767 bytes"解決辦法
FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. MetaException(message:javax.jdo.JDODataStoreException: An except
ERROR 1071 (42000): Specified key was too long; max key length is 767 bytes
mysql> show variables like '%innodb_large_prefix%';+---------------------+-------+| Variable_name | Value |+---------------------+-------+| innodb
匯入sql檔案報錯:1071 Specified key was too long; max key length is 767 bytes
2018年05月22日 15:53:58 李長念 閱讀數:1503 一、背景 今天把伺服器的資料庫匯出了一份sql檔案,
SoapUI啟動報錯:The JVM could not be started. The maximum heap size (-Xmx) might be too large
SoapUI啟動的時候,報如題錯誤,經過排查,在安裝目錄\bin\下,找到SoapUI的vmoptions引數配置檔案 打開發現-Xmx引數配置,將預設值改小一些即可: -Xms128m -Xmx80
The size of the object heap + VM data exceeds the maximum representable size問題解決辦法
不懂上面英文含義自行百度,簡單一句話來說,就是你想執行jvm,他得不到足夠的記憶體; 分析一下原因: 很能可能是fork時候啟動的jvm需要的記憶體過大,比如您電腦可用記憶體只有1G,但是你卻要配置2G,這樣子顯然不可取。 根據提示,檢查一下您配置檔案,是否有設定過大的情況
django.db.utils.OperationalError: (1071, 'Specified key was too long; max key length is 767 bytes')
tree 大於 val pos 做的 let cat div ble 環境介紹 Django (2.1) Python 3.5.5 mysqlclient (1.4.2.post1) Mysql 5.6.28 RHEL 7.3 在migrate時候報錯