ERROR 1049 (42000): Unknown database, localized Wordpress database ERROR 1049 (42000): Unknown database, localized Wordpress database wordpress wordpress

ERROR 1049 (42000): Unknown database, localized Wordpress database


Apparently the export was done without specifying a database (schema), so you have to create it manually first before you can import the dump. MySQL Workbench allows to import a dump to a different (including a new) schema. You can specify this on the import page:

enter image description here


You looks like you have to create a database first

CREATE DATABASE db;

and then import your sql file.