1SET @@global.wait_timeout= 2; 2disconnect default; 3connect wait_con,localhost,root,,test,,; 4connection wait_con; 5connect default,localhost,root,,test,,; 6connection default; 7--disable_reconnect; 8SELECT 1; 91 101 11connection wait_con; 12connection default; 13SELECT 2; 14Got one of the listed errors 15--enable_reconnect; 16SELECT 3; 173 183 19disconnect default; 20connection wait_con; 21connect con1,127.0.0.1,root,,test,$MASTER_MYPORT,; 22--disable_reconnect; 23SELECT 1; 241 251 26connection wait_con; 27disconnect wait_con; 28connection con1; 29SELECT 2; 30Got one of the listed errors 31--enable_reconnect; 32SELECT 3; 333 343 35SET @@global.wait_timeout= <start_value>; 36disconnect con1; 37connect default,localhost,root,,test,,; 38set global log_warnings=2; 39connect foo,localhost,root; 40set @@wait_timeout=1; 41connection default; 42FOUND 1 /Aborted.*Got timeout reading communication packets/ in mysqld.1.err 43set global log_warnings=@@log_warnings; 44