1、研发反馈数据库报错了,报错内容:
MySQL the table is full
2、检查了临时表的设置大小,发现才16M。
show global variables like ‘tmp_table_size’;
3、临时将其调整到1024M后报错消失。
set global tmp_table_size= 1073741824;
4、修改/etc/my.cnf,在[mysqld]下添加/修改两行,让其永久生效。
tmp_table_size = 1024M
max_heap_table_size = 1024M
参考链接:https://blog.csdn.net/weixin_44432956/article/details/123576213