当前位置:网站首页>It has been solved by personal practice: MySQL row size too large (> 8126) Changing some columns to TEXT or BLOB or using ROW_ FORMAT

It has been solved by personal practice: MySQL row size too large (> 8126) Changing some columns to TEXT or BLOB or using ROW_ FORMAT

2022-07-06 12:41:00 wx5caecf2ed0645


Today, I am exporting the data of a database sql This problem occurs when executing in another library ,

Check that the current table type is innodb

find mysql Installation directory , Find the configuration file my.ini Make the following changes :

innodb_file_per_table=1

innodb_file_format=Barracuda

innodb_file_format_check = ON

innodb_log_file_size = 512M

innodb_strict_mode = 0                                                                                                                                                      

Unable to find self adding of related configuration . restart mysql The problem is solved


Above is  innodb  Storage engine solutions , See another solution on the Internet as follows :

Remove the ROW_FORMAT Set up , increase Engine=MyISAM , It probably means to use when creating tables MyISAM Storage engine


原网站

版权声明
本文为[wx5caecf2ed0645]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202131515048457.html