MySQL短链接怎么设置
1.查看mysql连接数语句命令:

2.首先作为超级用户登录到MYSQL,注意必须是超级用户,否则后面会提示没有修改权限。

3.按回车键执行后显示目前的超时时间:

4.显示的是默认的超时时间,即8个小时(单位是秒)。现在重新设置该参数,例如我们要将超时时间设置成10个小时。

5.按回车键执行显示的结果:

6.可以重新使用show global variables like 'wait_timeout'来验证。
这种方法比较直观,而且设置的参数立即生效。

以上步骤很简单,感谢大家的阅读和对的支持。