I know there was a feature request with the ID ID: 1031217 and I tried the solution mentioned in the comments. But there I have no opportunity to change the database name. If you have webspace or a managed server than you have mostly use the name scheme what is given by the hoster. Actually I had to move a 6GB database and it was a pain to edit this large file just to put the 'use databasename' in.
So please can you provide a form field where I can put in a new database name for the use query. Thanks.
I believe we're close enough on this; you can currently toggle whether to include CREATE DATABASE/USE on export. Not selecting that will allow you to open any existing database and perform the import there. I can't think of a realistic scenario where you would want to do an import to a database that you're not able to switch to.