当前位置:网站首页>MySQL error: specified key was too long; max key length is 767 bytes
MySQL error: specified key was too long; max key length is 767 bytes
2022-07-28 20:34:00 【Hiking @ Tianya】
In execution mysql Script time , Report errors :Specified key was too long; max key length is 767 bytes.
terms of settlement :
mysql The character set of is utf8mb4
1、 First check that the database is limited in the size of the index
SHOW variables like 'innodb_large_prefix';
If the value of the query is off Words , Execute the following command
SET GLOBAL INNODB_LARGE_PREFIX = ON;
2、 performed , You also need to view the current innodb_file_format Is the engine format type BARRACUDA
SHOW variables like ‘innodb_file_format’;
If not, it needs to be modified
SET GLOBAL innodb_file_format = BARRACUDA;
边栏推荐
- FPGA programming experience
- Raspberry pie 4B uses MNN to deploy yolov5 Lite
- DOS common commands
- 平均海拔4000米!我们在世界屋脊建了一朵云
- Vivado design single cycle CPU
- Who cares about the safety of the battery when it ignites in a collision? SAIC GM has something to say
- Raspberry pie 4B parsing PWM
- [task01: getting familiar with database and SQL]
- 七种轮询介绍(后附实践链接)
- 太空游戏第12课: 盾牌
猜你喜欢

上海交大牵手淘宝成立媒体计算实验室:推动视频超分等关键技术发展

C language - data storage

Other IPS cannot connect to the local redis problem solving and redis installation

Explain RESNET residual network in detail

一碰撞就自燃,谁来关心电池安全?上汽通用有话说

【CodeForces】Educational Codeforces Round 132 (Rated for Div. 2)

Reverse string

同质化代币与 NFT 结合,如何使治理结构设计更灵活?

C语言数据 3(1)

Use of DDR3 (axi4) in Xilinx vivado (4) incentive design
随机推荐
Teach you how to draw a map with ArcGIS [thermal map]
Soft raid
Classes and objects (medium)
太空射击第13课: 爆炸效果
Raspberry pie 4B uses MNN to deploy yolov5 Lite
Linxu [permission, sticky bit]
How can Plato obtain premium income through elephant swap in a bear market?
C language - pointer
有哪个老哥知道flinksql 日志很大要怎么解决吗
同质化代币与 NFT 结合,如何使治理结构设计更灵活?
[task01: getting familiar with database and SQL]
Raspberry pie 4B deploy yolov5 Lite using ncnn
Wildcard ssl/tls certificate
Solve the cookie splitting problem (DP)
Merge sort template
Configure Windows Server + install MySQL database on the server + Remote Access database
Solve the problem that the nocturnal simulator cannot access the Internet after setting an agent
熊市下PLATO如何通过Elephant Swap,获得溢价收益?
Use of DDR3 (axi4) in Xilinx vivado (3) module packaging
LeetCode_ Bit operation_ Medium_ 260. Number III that appears only once