set mysql connection idle timeout

October 3rd, 2011 by xrigher Leave a reply »

in config file my.ini, under [mysqld] add these 2 lines:


# set timout to be 1h (3600 seconds)
wait_timeout=3600
interactive_timeout=3600

Advertisement

Leave a Reply