multi realm support.

We can now monitor multiple realms on mysql.