今天执行sql文件的时候遇到一个问题:
Row size too large
产生问题的原因如链接所示https://blog.csdn.net/qq_38287952/article/details/80343562
网上搜索各种解决方案,不少提到了把innodb_file_format=barracuda,我修改my.cnf这个文件后执行show GLOBAL VARIABLES LIKE ‘%file_format%’; 全局变量直接不存在file_format。
https://github.com/frappe/bench/issues/681
https://github.com/frappe/bench/wiki/MariaDB-conf-for-Frappe
根据MariaDB这个帖子的猜测,file_format是mysql5.0版本的写法,新版本的解决办法如下
mysql 8.0 弃用元素整理如下,当中就包含Barracuda
https://www.cnblogs.com/wy123/p/11929233.html