Hi,
A)
There is no NOOP command in SQL.
I guess they could determine what database you are connected to and select * where 1=2 but that's really troublesome.
I've already put in a request for an auto-reconnect and re-select the database I was last in. I've been told that they are considering it. This would do the trick. (I have 1 server I work with that has a 2 minute disconnect! It really gets annoying after a while)
In the mean time, I've worked around this problem by adding databasename. to each of my table names in my from clause. I'm never exited about having to change my habits to work around flaws in a tool but SQLyog is a very important tool for me and it's still the best out there for mysql. So I begrudgingly work around it.
HTH,
=C=