I'm wondering the way i could possibly get the next file,

mysqldump -h server -u root -p --all-databases > all_dbs.sql

to instantly create any databases which are not produced, when imported. Also, if your database has already been present, it will recreate it (overwriting that old one).

Is possible? Thanks!

mysql -u root -p < all_dbs.sql