MeterSphere问题:运行接口自动化某个场景时出现mysql错误提示table is null

@[持续化测试工具MsterSphere](MeterSphere问题:接口自动化时table is null)

meterSphere:运行接口自动化某个场景时出现mysql错误提示table is null
在这里插入图片描述
错误信息详细描述:
{“success”:false,“message”:"\n### Error updating database. Cause: java.sql.SQLException: The table ‘api_scenario_report’ is full\n### The error may exist in io/metersphere/base/mapper/ApiScenarioReportMapper.xml\n### The error may involve io.metersphere.base.mapper.ApiScenarioReportMapper.insert-Inline\n### The error occurred while setting parameters\n### SQL: insert into api_scenario_report (id, project_id, name, create_time, update_time, status, user_id, trigger_mode, execute_type, scenario_name, scenario_id, description ) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? )\n### Cause: java.sql.SQLException: The table ‘api_scenario_report’ is full\n; uncategorized SQLException; SQL state [HY000]; error code [1114]; The table ‘api_scenario_report’ is full; nested exception is java.sql.SQLException: The table ‘api_scenario_report’ is full",“data”:null}

解决方式可尝试:
mysql出现"the table is full"的问题,一般有两个原因:

一 .You are using the MEMORY (HEAP) storage engine; in this case you need to increase the value of the max_heap_table_size system variable. See Section 5.1.3, “Server System Variables”.

ERROR 1114 (HY000) at line 1720: The table ‘XXXX’ is full

于是就修改Mysql的配置文件my.ini,在[mysqld]下添加/修改两行:
tmp_table_size = 256M
max_heap_table_size = 256M

系统默认是16M,修改完后重启mysql

二.硬盘空间满了,清理硬盘即可.

不要被mysql的安装目录所欺骗, 最好亲自去看看数据存放目录是哪

在my.ini 搜索 datadir

看其指向的目录 就是数据存放目录。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值