I tried to import data from a dump file on MySQL workbench 8, it is showing the (unknown database) error with code 1049 (42000)for each table in the database, is it because I exported data from a different version of MySQL, is it an error with the folder (corrupted) or I have done something wrong in the process?
I choose Data import from server menu, then choose the dump folder and start importing then the error pop-up for every table, with 25 tables 25 errors.
CREATE DATABASE
statement insertion during backup 2) do not create this database (and make it current) before restore.