multi-db issue on creating dbs using tool

When i run the query generated i get an unexpected result. The databases are created under a new host icon.