Version 4.0.x adds CREATE DATABASE statement when exporting whole database. Please add option (and a config parameter) to disable this behavior.
Ann + J.M.
I agree. Since the introduction of this feature I've had to manually take out the CREATE DATABASE IF NOT EXISTS from the export file. While its a nice feature to have in some cases, it would be nice to have the option to not have it. Much like the checkbox on export for creation of tables.
I give a + vote for adding a config parameter to disable this, it causes a lot of extra support tickets from customers on our shared hosting servers.
Implemented for 4.0.5.