appserver:  set MYSQL_OPT_RECONNECT to 1