1set global tcp_keepalive_time = 1; 2set global tcp_keepalive_interval =1; 3set global tcp_keepalive_probes=1; 4connect con1,"127.0.0.1",root,,test,$MASTER_MYPORT,; 5disconnect con1; 6connection default; 7set global tcp_keepalive_time= default; 8set global tcp_keepalive_interval= default; 9set global tcp_keepalive_probes=default; 10