hi. i think problem is in timiout db connection in long time idle. i have same problem but i have time for details i think you have creat procedure ant check it on actions proc db_status {}{ if {![info exists db_handle] } { set db_handle [mysqlconnect -host $sql(host) -user $sql(user) -password $sql...