in reply to Perl/Tk hang when conecting to Remote MySQL Server

Try to add $mw->update; to your while loop.