I think SQLyog should automatically save the contents of your query tabs into its own local buffer when I exit the program. Often times this is just 'scratch' queries and stuff that I don't want to keep saved on my hard disk and organized. But I do want it to populate the next time I open SQLyog. Why not just automatically do this for me? Maybe I'm shutting down SQLyog for the night, or maybe I'm notified there's a new version of SQLYog (which happens about every other day it seems 🙂 ). Or maybe my PC crashed or power went out and I never got to save the contents… You should periodically just save all the tabs and contents to some SQLYog specific location “internally” and then restore them. This is self maintaining, since when I close a tab it will ask me to save the contents or not as it does now. And if I select all the text and clear it same thing, then you simply will save the buffer on the next interval like always.