docker run --name orbstack_mysql -p 3306:3306 -e MYSQL_ROOT_PASSWORD=123456 -d mysql:8.0 --innodb-page-size=32768 --max_allowed_packet=20G
直接指定了max_allowed_packet和innodb-page-size的值
需要把xxx_goods_template表的ROW_FORMAT改成DYNAMIC
打开sql文件直接修改,修改后再导入 ROW_FORMAT=DYNAMIC;
time sed -i '' 's/ROW_FORMAT=COMPRESSED COMMENT='\''新版商品模板'\''/ROW_FORMAT=DYNAMIC COMMENT='\''新版商品模板'\''/g' DB.sql
0