当前位置:Gxlcms > 数据库问题 > MySQL error Query execution was interrupted, maximum statement execution time exceeded

MySQL error Query execution was interrupted, maximum statement execution time exceeded

时间:2021-07-01 10:21:17 帮助过:21人阅读

MySQL 查询时,报如下错:
Query execution was interrupted, maximum statement execution time exceeded


查询数据库最大语句执行时间,默认为10s,单位是毫秒

SELECT @@global.max_execution_time


设置最大执行时间, 设置为30s

SET global max_execution_time = 30000;

 

MySQL error Query execution was interrupted, maximum statement execution time exceeded

标签:erro   时间   数据   was   execution   oba   cut   err   statement   

人气教程排行