设置1set interactive_timeout=604800;
set wait_timeout=604800;wait_timeout的默认值为28800,也就是8小时将这2个参数设置为24小时(606024=604800)即可也可以进行增大使用show variables like '%timeout%'; 这个命令查看设置2打开my.ini(Linux系统为my.cnf)在mys...
指令history格式[root@daolinux ~]# history [n]
[root@linux ~]# history [-c]
[root@linux ~]# history [-raw] histfiles参数n :数字,意dao思是dao‘要列出最近的 n 笔命令列表内’的意思!容
-c :将目前的 shell 中的所有 history 内容全部消除
-a :将目前新增的 ...