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


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

SELECT @@global.max_execution_time


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

SET global max_execution_time = 30000;

 

相关文章:

  • 2022-12-23
  • 2021-08-08
  • 2022-12-23
  • 2022-12-23
  • 2021-05-19
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-01-07
  • 2021-06-22
  • 2022-12-23
  • 2021-10-31
  • 2021-11-24
相关资源
相似解决方案