mysql提示Lost connection to MySQL server during query

一点OK 2021-11-25 17:23:36

我的mysql查询为什么一超过30秒就提示 Lost connection to MySQL server during query

各种全局变量都设置了;

0117:15:35SELECT *FROM............... LIMIT 0, 1000Error Code: 2013. Lost connection to MySQL server during query30.015 sec

show global variables like '%timeout%';
SET GLOBAL connect_timeout = 43200;
SET GLOBAL connect_timeout = 43200;

SET GLOBAL delayed_insert_timeout = 43200;
SET GLOBAL innodb_lock_wait_timeout = 43200;

SET GLOBAL interactive_timeout = 43200;

SET GLOBAL mysqlx_connect_timeout = 43200;

SET GLOBAL mysqlx_interactive_timeout = 43200;

SET GLOBAL mysqlx_idle_worker_thread_timeout = 43200;

SET GLOBAL mysqlx_interactive_timeout = 43200;

SET GLOBAL mysqlx_read_timeout = 43200;

SET GLOBAL mysqlx_wait_timeout = 43200;

SET GLOBAL mysqlx_write_timeout = 43200;

SET GLOBAL net_read_timeout = 43200;

SET GLOBAL net_write_timeout = 43200;

SET GLOBAL mysqlx_write_timeout = 43200;

SET GLOBAL rpl_stop_slave_timeout = 31536000;

SET GLOBAL slave_net_timeout = 43200;

SET GLOBAL wait_timeout = 43200;

...全文
1163 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
CSDN-Ada助手 2023-01-13
  • 打赏
  • 举报
回复
您可以前往 CSDN问答-大数据 发布问题, 以便更快地解决您的疑问

427

社区成员

发帖
与我相关
我的任务
社区描述
非技术问题的乐园
社区管理员
  • 非技术区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧